File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Two basic questions by a j2ee learner!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Two basic questions by a j2ee learner!!" Watch "Two basic questions by a j2ee learner!!" New topic
Author

Two basic questions by a j2ee learner!!

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 154
Dear All
I have 2 basic questions about
j2ee
Question1) I installed j2sdkee1.3 and Jsdk1.3 already
for develop or learning j2ee
do i need install tomcat or weblogic?
what is the relations between
weblogic/tomcat and j2sdkee1.3?
Question2) What is ant, what is usage of ant?
Regards

public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
Mike Jones
Ranch Hand

Joined: Dec 12, 2001
Posts: 109
Originally posted by walter wang:
Dear All
I have 2 basic questions about
j2ee
Question1) I installed j2sdkee1.3 and Jsdk1.3 already
for develop or learning j2ee
do i need install tomcat or weblogic?
what is the relations between
weblogic/tomcat and j2sdkee1.3?
Question2) What is ant, what is usage of ant?
Regards

Hey Walter,
If you look at the thread below, I also have questions. However, I think I can help you with yours.
I am currently in the middle of setting up my development environment (i.e. not completed) so take the advice FWIW. I don't believe you need to install the J2EE jdk if you choose an IDE like Forte CE and install a commercial application server (i.e. Weblogic). Refer to the thread I started below on J2SE and J2EE www.javaranch.com/ubb/Forum11/HTML/002043.html
Tomcat provides for the web application part of the J2EE spec (jsp, servlets, ...). Tomcat is included with Forte, for example. Application servers like Weblogic include both a web application container and a EJB container. Bottom line with J2EE is you need a web server, web application container and ejb application container. You can get these J2EE services via the J2EE jdk (Sun's reference implementation), via IDE tools and / or via commercial J2EE application servers. Figuring out where and when seems a bit confusing. Stay tuned... I'm working it out.
Ant is a build / deploy tool. It turns out in the J2EE world, that deploying J2EE applications (jar, war , ear) tends to be quite a manual chore, particularly for server farms. I recently decided that ant will be one of the tools I need to learn. I want to learn generic J2EE skills that are not married to a particular application server vendor. Many will offer features like hot deployment. I like the idea of using a tool like ant driven my an xml build file that can automate and document the build process... the document feature can be spelled CYA. It also appears you integrate testing into the build process which makes total sense to me.
Hope that helps.
Mike
[This message has been edited by Mike Jones (edited December 28, 2001).]
[This message has been edited by Mike Jones (edited December 28, 2001).]


<BR>
raimondas zemaitis
Ranch Hand

Joined: Feb 23, 2001
Posts: 104
If you installed j2sdkee, you do not need any App server or IDE for learning purposes. J2SDKEE has ejb container implementation as well as jsp engine so you can deploy your web apps with ejbs.
Start cloudscape (if you use this DB and not some other) by running cloudscape.bat (under win, located in bin folder of your j2ee installation) then j2ee.bat, then open browser and in location enter http://localhost:8000
you should get welcome message.
Then you can develop ejbs, jsps etc and deploy using default deploy tool (deploytool.bat)
Raimondas
walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 154
Originally posted by raimondas zemaitis:
If you installed j2sdkee, you do not need any App server or IDE for learning purposes. J2SDKEE has ejb container implementation as well as jsp engine so you can deploy your web apps with ejbs.
Start cloudscape (if you use this DB and not some other) by running cloudscape.bat (under win, located in bin folder of your j2ee installation) then j2ee.bat, then open browser and in location enter http://localhost:8000
you should get welcome message.
Then you can develop ejbs, jsps etc and deploy using default deploy tool (deploytool.bat)
Raimondas

Thanks for your explanation
Btw I have a question
If I dont want to use cloudscape,
Which database could I use?
for example If i want to use Db2,
where could i find and download it?
Regards

 
Consider Paul's rocket mass heater.
 
subject: Two basic questions by a j2ee learner!!