This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes to build a j2ee application on local machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "to build a j2ee application on local machine" Watch "to build a j2ee application on local machine" New topic

to build a j2ee application on local machine

ansh gupta

Joined: Jun 23, 2008
Posts: 1
I want to create a j2ee application creating data base on local machine. this application should be useful for some 10-15 people. I cant use oracle because no dedicated database will be there. i want to use java as the intermediate platform.
So can you please help in how to go about this work. what to use as database which can use sql queries etc etc.
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

Install the Netbeans 6.1 bundle with the JDK.
It will make J2EE apps easy. If you really need j2EE, which I expect you don't. You can do what you want with JSP and beans, and skip all the J2EE over head.

Go to and download their community MySql.
Use JDBC to connect your application to mysql, and you are set to go.

Deploy it on Tomcat when you are done with the development.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Download the Glassfish Application Server and NetBeans IDE. You need to use the Java EE APIs (JDBC, Java Server Pages).

Deploy on Glassfish when you are ready to into production.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

These are good responses to the question however they assume quite a bit. ansh, your question is quite broad and its impossible to answer questions that cover so much in a single thread.

I would advise that you tackle this problem in small chunks. For example, forget about the database for now. There is plenty you need to do and understand before a database even comes into the picture. For starters, your background in developing JEE applications is what? Never done it? Done some small servlet/jsp apps?

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: to build a j2ee application on local machine
jQuery in Action, 3rd edition