Solved

what is the best J2EE code generation tool

Posted on 2008-06-26
3
391 Views
Last Modified: 2008-07-25
what is the best J2EE code generation tool ?

i will give database table it has to generate value object,DAO,sessionbean,servlet and jsp(all the DB fields should be displayed text box fields)

servlet sample file.

doPost()
{
EmpVO emp = new EmpVO();

emp.empId= request.getParameter("empid");
emp.empName= request.getParameter("empName");
emp.sal= request.getParameter("sal");
emp.empdate= request.getParameter("empdate");


remote.create(emp);
}
0
Comment
Question by:chaitu chaitu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
Nellios earned 500 total points
ID: 21872818
Netbeans provides such functionality.

It allows to do the following provided a connection to a database.
1) Create Entity Class from Database.
2) Create Session Beans from Entiy Classes.
3) Create CRUD JSF from Entity Classes.

Here is an example:
http://www.netbeans.org/kb/61/web/jsf-jpa-crud-wizard.html
0
 
LVL 20

Author Comment

by:chaitu chaitu
ID: 21875644
I thought of using Velocity template engine.

how can i give database table to that engine so that it should generate MVC type java files..
0
 
LVL 25

Expert Comment

by:Tomas Helgi Johannsson
ID: 22043483
      Hi!

I like Nellios reccommend using Netbeans  
It's a great Java IDE tool for all kinds of Java coding and has many plugins which you can download
and use.

Regards,
    Tomas Helgi  
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question