Customizing navigation and security in OpenXava

 Java, Web Development  Comments Off on Customizing navigation and security in OpenXava
Aug 122015
 

OpenXava does not include a complete security and navigation system, although you can easily add security and navigation in an OpenXava application if you use a Java portal, such as Liferay. Also, you can use the official solution that OpenXava team offers: XavaPro. Even though these solutions may be valid for new projects, for legacy projects you may need apply other ones. In this post we are going to customize our own solution for navigation and security starting from the standard OpenXava solution: NaviOX. Continue reading »

Main JSPs in OpenXava

 Java, Web Development  Comments Off on Main JSPs in OpenXava
Aug 112015
 

OpenXava is an AJAX Java Framework for rapid development of enterprise web applications. In OpenXava you only have to write the domain classes in plain Java to get a web application ready for production. Under the hood, there are a lot of JSPs that, magically, build all the pages on the fly. In spite of being an extensible and customizable framework, if you want to change the default behaviour of OpenXava projects, you will have to know how different JSPs are related each other.
Continue reading »

Reverse Engineering and Code Generation

 DataBase, Java, Web Development  Comments Off on Reverse Engineering and Code Generation
Aug 102015
 

The goal of this post is to explain how to model a database into java pojo classes with EJB or JPA annotations using reverse engineering. We can use several tools such as MinuteProject or Mogwai ERDesignerNG. In this post we are going to use JBoss Tools plugins for Eclipse (Hibernate Tools). With this tool not only can you configure files using JPA and EJB annotations, but also other annotations such as OpenXava. Continue reading »

Logging de Faces. JSF2.

 Faces, JSF, Web Development  Comments Off on Logging de Faces. JSF2.
Jan 292012
 

Al pasar del JSF1.2 a JSF2, en Mojarra, podemos observar que en consola se muestran mensajes de log, que en versión JSF1.2 no aparecían, con el siguiente formato:


26-ene-2012 11:54:16 com.sun.faces.renderkit.RenderKitUtils renderUnhandledMessages

INFO: ADVERTENCIA: FacesMessage(s) se han puesto en la cola, pero es posible que no se muestren.

o en inglés


26-ene-2012 11:54:16 com.sun.faces.renderkit.RenderKitUtils renderUnhandledMessages
INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.

Continue reading »

Migración JSF1.2, Spring 2.5.6, RichFaces 3.3.3.Final y Primefaces 1.1 a JSF2, Spring 3, RichFaces 4.0.0.Final y Primefaces 2.2.1

 Faces, JSF, Web Development  Comments Off on Migración JSF1.2, Spring 2.5.6, RichFaces 3.3.3.Final y Primefaces 1.1 a JSF2, Spring 3, RichFaces 4.0.0.Final y Primefaces 2.2.1
Nov 272011
 

En el presente post se va a describir los pasos necesarios para migrar una aplicacion web de JSF1.2 a JSF2 así como las modificaciones necesarias para migrar Spring, RichFaces y Primefaces.
Continue reading »