Solved

what is the best J2EE code generation tool

Posted on 2008-06-26
3
385 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JDeveloper 12c for 32 bit 4 84
ForLoop Example 3 48
table example 4 29
null output 3 24
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

776 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