?
Solved

what is the best J2EE code generation tool

Posted on 2008-06-26
3
Medium Priority
?
400 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 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

649 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