Suggestions for updating JSE application to J2EE

Asked

Viewed 73 times

0

Already for more than three years I do not work with Java for real, I have worked with PHP, learned and liked a lot. In my opinion, all two languages have many legal advantages to be incorporated into the other.

A few years ago I developed a JSE project with Swing for a client that uses Standalone on a single computer. After a while I did an update and added Maven, in addition, this application was initially developed with Hibernate, Jasperreports and Mysql.

Anyway, the client of this application is asking me to update it, but I only think it is feasible to perform it if I change it to the WEB environment, ie J2EE. I have little experience with JSF and have seen JSP as well as Springmvc. By working with PHP in a large and complete application, using Bootstrap and the Codeigniter framework, I have a much better notion that can facilitate my work on the implementation, especially with regard to the integration between the MVC layers.

So I ask you. What would be the best J2EE technology to be adopted for this context taking into account my following questions?

  • The views building framework (JSF or JSP) should be well integrated with Twitter Bootstrap to build a responsive design.
  • Displaying Model data directly in Views should be very dynamic, as well as in JSF.
  • Some framework that offers automatic security features such as field sanitization, SQL Injection, etc.

I count on your help to help me in my update.

  • Why not rewrite in php? Once you work better with it.

  • Actually, I thought about this hypothesis. However, the application is already done in Java, and also has very complex reports made with the Jasperreports framework. You also want to learn more about java.

  • 1

    If I were you, I’d choose to work with Spring MVC. If you use the Hibernate params query you will not have problems with SQL Injection, for access control use Spring Security.

  • @adelmo00 very good. You would suggest me something to work with the graphical interface, ie more dynamic generation of Vies?

  • 1

    In the projects I use Tile 2. Also look for dependency injection in Java and Spring Data. Spring Data already has crud methods ready and can help you a lot.

  • Thank you @adelmo00, these are new things for me, just like I wanted. I’ll look into it.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.