This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

to build a j2ee application on local machine

ansh gupta
Greenhorn

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
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

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 mysql.com 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: 15299
    
    6

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
 
 
subject: to build a j2ee application on local machine
 
Similar Threads
Connecting to the Java "derby" Netbeans database without Netbeans.
Can I deploy all my ears into Mac book
need help installer for java web application
search local drive
BMP, Jboss, and mysql configuring