Eclipse Acceleo MDA Tool

Acceleo (http://www.acceleo.org) is an Eclipse-based toolkit for code generation, with a model based approach. Code generation is the technique of using or writing programs that write source code. Code generators are tools built to serve engineers in the automatic creation of applications. Acceleo is a free software, its development is totally open.

Modificar el aspecto de Netbeans 6.5.1 en Debian Lenny

Changing L&F on startup – different NetBeans versions

NetBeans 6.1

  • ./netbeanslaf javax.swing.plaf.metal.MetalLookAndFeel
  • ./netbeanslaf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel

NetBeans 6.5

  • ./netbeanslaf Metal

These switches can be added to netbeans.conf file (<nbinstalldir>/etc/netbeans.conf) to the end of “netbeans_default_options” section.

Available L&Fs and their “short” names

We have “shortcuts” for well known L&Fs in NetBeans. So there is no need for using the fully qualified name, just run e.g. ./netbeanslaf GTK instead of ./netbeanslaf com.sun.java.swing.plaf.gtk.GTKLookAndFeel. These shorcuts are printed in bold in the following list. Their fully qualified name follows.

  • Windows – com.sun.java.swing.plaf.windows.WindowsLookAndFeel
  • Metal – javax.swing.plaf.metal.MetalLookAndFeel
  • GTK – com.sun.java.swing.plaf.gtk.GTKLookAndFeel
  • Nimbus – – Not available as default L&F, in development. It is our implementation of Nimbus GTK theme, which is the default theme for OpenSolaris.
  • Aqua – apple.laf.AquaLookAndFeel

http://wiki.netbeans.org/NBLookAndFeels

5. Nimbus look and feel in JDK 6 update 10 (beta as of 5/15/2008). See here for a comparison to metal. To use it with NetBeans, install JDK 6 update 10, set netbeans_jdkhome to JDK 6u10, and netbeans_default_options to include “–laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel” in NetBeans-dir/etc/netbeans.conf.

http://javahowto.blogspot.com/2008/05/how-to-customize-netbeans-look-and-feel.html

http://wiki.netbeans.org/NBLookAndFeels

Cuando instalamos Netbeans 6.5.1 en Debian Lenny su aparencia no resulta muy agradable
despues de investigar bastante he realizado este mini tutorial

Librerias para cambiar el LookAndFeel de una aplicacion Java
http://www.jtattoo.net/ScreenShots.html
https://substance.dev.java.net/docs/skins/toneddown.html
http://www.muntjak.de/hans/java/tinylaf/index.html
http://www.javootoo.com/plaf/notskinnable.html

A partir de los enlaces de arriba y navegando un poco se pueden conseguir los archivos
jar que nos interesen para modificar el LaF, concretamente resultan interesantes
jtattoo.jar y substance.jar

Si vamos a instalar jtattoo.jar , hacemos lo siguiente:

Abrimos un terminal y accedemos como superusuario su

$su

Copiar la libreria jar JTattoo.jar en el directorio de la JVM
#cp /home/tu_usuario/Desktop/Trabajo/libs/JTattoo.jar /usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/ext

Modificar netbeans.conf situado en /usr/local/netbeans-6.5.1/etc

#cd /usr/local/netbeans-6.5.1/etc
#nano netbeans.conf

Nos situamos en la linea que empieza por:
netbeans_default_options=”

Y ahora compiamos esta linea de aqui abajo:
-cp:p /usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/ext/JTattoo.jar –laf com.jtattoo.plaf.luna.LunaLookAndFeel

Posteriormente pegamos detras de las comillas de : netbeans_default_options=”

Guardardamos el fichero y cerrarmos nano(Ctrl+o y Ctrl+x)

Ahora arrancamos Netbeans y podremos observar el nuevo aspecto.

Rutas a los lookandfeel o laf en los diferentes jar, todos cuentan con varios skins.
Para JTattoo.jar : –laf com.jtattoo.plaf.luna.LunaLookAndFeel
Para Substance.jar : –laf org.jvnet.substance.skin.SubstanceBusinessLookAndFeel
Para TinyLaf.jar : –laf de.muntjak.tinylookandfeel.TinyLookAndFeel

Mas info
http://elblogdeinwe.com/blog/2008/11/22/cambiar-el-estilo-en-netbeans-65/
http://luauf.com/2008/03/30/instalar-nuevos-look-feels/

Instalar JDK 6 en Debian

Voy a describir los pasos a seguir para desinstalar sun-java5-jdk e instalar sun-java6-jdk en debian testing desde debian unstable.

Tutorial Instalar Java 6

Freemarker.org

FreeMarker is a “template engine”; a generic tool to generate text output (anything from HTML to autogenerated source code) based on templates. It’s a Java package, a class library for Java programmers. It’s not an application for end-users in itself, but something that programmers can embed into their products.http://www.freemarker.org/

Fishbolt

Fishbolt offers integration solutions for developing multi-tiered applications in Java programming language. Solutions offered by Fishbolt allow considerable reduction in costs for implementation and maintenance of software. The Eclipse based database client with the hibernate technology article demonstrates example of building of the complete application – client to database in several steps.

http://fishbolt.org

Instalar JDK, Netbeans y Eclipse en Linux

A continuación expondré cuales son los Entornos de Desarrollo más utilizados y/o famosos para el desarrollo en JAVA.

Los únicos que conozco son dos, además de muy famosos:

NetBeans

Eclipse

Estas dos IDE no sólo sirven para programar en JAVA, sino que desde sus webs puedes descargarte plugins para desarrollos en otros lenguajes y/o otra seria de aplicaciones muy útiles. Primeros, definamos IDE.

http://www.informatizando.es/?p=26

Sculptor

Sculptor is an open source productivity tool that applies the concepts from Domain-Driven Design and Domain Specific Languages.

You express your design intent in a textual specification, from which Sculptor generates high quality Java code and configuration. You can use the concepts from Domain-Driven Design (DDD) in the textual Domain Specific Language (DSL). E.g. Service, Module, Entity, Value Object, Repository. The generated code is based on well-known frameworks, such as JPA, Hibernate, Spring Framework, Spring Web Flow, JSF, RCP, and Java EE. Sculptor takes care of the technical details, the tedious repetitive work, and let you focus on delivering more business value – and have more fun.

The DSL and the code generation drives the development and is not a one time shot. The application can be developed incrementally with an efficient round trip loop.

Sculptor is useful when developing typical enterprise or web applications that benefit from a rich and persistent domain model. Sculptor also provides a sophisticated CRUD GUI for administrative sections of the application or to serve as a scaffolding for your manually created pages.

Within 15 minutes you can go from scratch to a running application, including build scripts, Eclipse projects, domain model, JPA persistence, services, Web Flow application and much more. Thereafter you can continue by evolving the design, add manual code and regenerate.

Sculptor is not an one-size-fits-all product. Even though it is a good start for many systems, sooner or later customization is always needed. Sculptor is designed and documented with this in mind. The generated result can easily be modified to meet your needs.

http://fornax.itemis.de/confluence/display/fornax/Sculptor+%28CSC%29