OpenXava Experience

Based on demos and documentation, OpenXava looks like a very impressive foundation for quickly creating RIAs from a Java domain. If he is really as good as he claims, why is he no more famous?

I would love to hear from people with hands-on experience using OpenXava. What are its strengths and weaknesses? How does it compare to alternatives like Grails, Roo, and the Play platform?

+6
source share
5 answers

If you decide to use openxava, you need to select the portal server on which it can be deployed. What a difficult part, the portals are very heavy.

+2
source

There is no need to use it with a portal server. Even the download comes bundled with Tomcat 6.0 for quick launch.

Yes, you have OPTION to create portlets using Ant script and deploy to a portal server, such as Liferay

+1
source

It looks so good in the demo, but I couldn’t get through. These are the steps that I have taken.

  • downloaded openxava, which is more like a workspace than a plugin. 2 create a project.
  • create objects using the "Database Importer", so JPA objects are automatically (can also be in step 5)
  • run crateNewProject and get the files copied in the project.
  • update persistence.xml and context.xml tomcat.
  • run build.xml, but remove the updateSchema target as I am doing reverse engineering and don't want to lose data.

when I start the project, I don’t see how the portal is generated

generatePortletXml: [echo] Generating portlets files [java] Jul 11, 2013 12:05:45 PM org.openxava.util.Labels get [java] WARNING: Impossible to translate element with id Client [java] Jul 11, 2013 12:05:45 PM org.openxava.util.Labels get preparePortletsWar: insertCustomPortlets: [loadfile] C:\Projects\openxava-4.7.1\workspace\Viewport\web\WEB-INF\portlet-ext.xml doesn't exist [loadfile] C:\Projects\openxava-4.7.1\workspace\Viewport\web\WEB-INF\liferay-display-ext.xml doesn't exist [java] WARNING: Impossible to translate element with id Client [java] Jul 11, 2013 12:05:45 PM org.openxava.util.Labels get 

Spring roo is not bad when you want to generate pages, but does not provide significant support for sorting or other settings, and since roo is an OSGi-based conversion, it will require very good experience with OSGi, Spring Roo also uses Spring MVC and Hibernate if you have a stage for MVC. It also creates many aspect files. You don't have to know all of this, but when it comes to tuning, knowing that it can lead you to faster (in fact)

I hope that openXava will get some traction and create a maven script and some shell scripts to generate portlets, Open Xava screens are too good, but now, unfortunately, they refuse.

+1
source

There was the same question :) OpenXava is mature enough and offers a richer user interface out of the box. For another, you have a basic CRUD out of the box. Appearance and everything is in order, and I assume that it can be customized. This is not as well known as the others, because he does not have such a strong company as Grails and Roo. The game is good, but in the same category as OpenXava (backed by some not-so-large companies). They are all good products, so this is a matter of choice.

0
source

This is great for quickly prototyping the application, but the user interface does not look very polished. It uses the JSP under it, which is currently out of fashion, but you can work quickly and quickly.

It works on Tomcat, which is rather lightweight, but for more functionality and a better look, launch the Liferay portal on Tomcat and download the OpenXava application as several portlets on the portal. The Liferay documentation explains this pretty well.

0
source

Source: https://habr.com/ru/post/888084/


All Articles