Javier has posted 42 posts at DZone. View Full User Profile

OpenXava 3.0: JPA Application Engine

03.05.2008
| 5360 views |
  • submit to reddit
Location: 
java

OpenXava is a JPA Application Engine. You put your JPA classes and, in exchange, you will obtain a full featured application ready for production, and without code generation.

Since OpenXava 3.0 you can define components using POJOs + annotations, as alternative to XML. The advantages are:

  • You can take your application developed using POJOs and JPA and convert it in an OpenXava application in a few minutes.
  • You can use standard tools for POJO/EJB3 to develop OpenXava applications. Tools as UML tools, Dali for mapping, Hibernate tools for importing database schemas to EJB3 POJOs, etc.
  • You do not need code generation any more (OX2 generated code from XML definitions).

What's new in 3.0?

  • POJOs + Java 5 annotations for defining business components.
  • XavaException now is a RuntimeException.
  • MapFacade methods do not longer throws RemoteException, instead it now throws SystemException (runtime).
  • Fix: JasperReport generation: Invalid encoding name "Cp1252" on some windows, and malformed URL on WebSphere 6.0.
  • Fix: Fails on WebSphere 6.0 (at some level patch). Broken since 2.2.3.

You can learn more about OpenXava 3.0 on http://www.openxava.org

 

0
Published at DZone with permission of its author, Javier Paniza.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Carlos Ribeiro replied on Wed, 2008/03/05 - 11:54am

I've never used OpenXava before, but I've used Hibernate quite a lot. How is OpenXava compared to Hibernate ?

Javier Paniza replied on Wed, 2008/03/05 - 12:56pm in response to: Carlos Ribeiro

Hi Carlos,

Hibernate and OpenXava are two very different things.

OpenXava allows you to obtain a complete application with user interface and behaviour included,

while Hibernate is a persistence engine.

OpenXava uses Hibernate JPA implementation for persistence.

Cheers 

 

Carlos Ribeiro replied on Wed, 2008/03/05 - 2:15pm in response to: Javier Paniza

Interesting. I'll look into it. Thanks

Setya Djajadinata replied on Thu, 2008/03/06 - 1:43am

Javier,

For UI with lots of properties coming from one entity instead of putting all the components into 1 screen, we usually develop UI with wizard style, does OpenXava support generating this kind of UI ?

Also, from security point of view, suppose I want to restrict certain user from adding new record but allow him/her to update existing ones. How/where can I put this kind of logic ?

Regards,

Setya

 

 

Javier Paniza replied on Thu, 2008/03/06 - 10:32am in response to: Setya Djajadinata

Hi Setya,

For UI with lots of properties coming from one entity instead of putting all the components into 1 screen, we usually develop UI with wizard style, does OpenXava support generating this kind of UI ?

Maybe the sections (displayed as tabs) can be useful for you case, look at:

http://openxava.wikispaces.com/view_en#toc3

Also, from security point of view, suppose I want to restrict certain user from adding new record but allow him/her to update existing ones. How/where can I put this kind of logic ?

Define two modules one for full CRUD and other for only update. This generated two portlets, then assign each portlet to the user, group or roles you want using the portal admin tools.

Look at

http://openxava.wikispaces.com/controllers_en

http://openxava.wikispaces.com/application_en

When you try to implement it go to the OX forum and sure the OX community helps you

 

 

Jim Smiley replied on Tue, 2009/07/14 - 10:19am

HI,

I downloaded the openxava into Ubuntu and tried to run the startup.sh BY CLICKING ITbut couldn't see any results in the browser.

How do you actually start it in Ubuntu Linux?   i DON'T KNOW THE COMMAND!

i downloaded it into  Windows Vista, but it seems to only download the tomcat portion. Ia there a way to downloadcorrectly?

Thanks 

JIM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.