jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes New to J2EE, need help getting started Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "New to J2EE, need help getting started" Watch "New to J2EE, need help getting started" New topic

New to J2EE, need help getting started

Jay Mistry

Joined: May 19, 2001
Posts: 16
I am new to J2EE and wanted to get started on it asap. I have been reading up on it at sun and have downloaded several tutorials that I am comfortable with. I also have downloaded JBoss J2EE server with Tomcat and Jetty support. Now it may sound I know what I am talking about, but I don't. I need to know how can I make an application that I allready have coded to get to work? I mean at the hightest level, I need to know what should I do with all of this software; how do I set these things up in Win2K pro so that my machine can act as a J2EE server and I can run apps on my machine and only my machine. Also do I need any other software to get started (besides the j2ee sdk and the stuff mentioned above)? I would really appreciate any help I can get.
Thank you
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
Anyone ... same problem here ??

"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Ranch Hand

Joined: Feb 14, 2002
Posts: 31
When I started these J2EE programming things I dowloaded Sun's J2EE RI server and it's tutorial because that tutorial explains everything quite clearly step by step.
After doing those samples it was quite easy to
implement own samples and deploy them into server.
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
After doing those samples it was quite easy to
implement own samples and deploy them into server.

run 2-3 ejb on webLogic... but Jboss.. no doc is there for it ??
Ryan Bailey
Ranch Hand

Joined: Feb 26, 2002
Posts: 134
Hello Jay,
I don't know much about JBoss but I know if you want to develop web applications (which that sounds like the path you are heading) I would suggest downloading Apache and then integrating Apache with Tomcat. Tomcat is the servlet engine. Without a servlet engine you will not be able to develop webapps. If this sounds like something you are interested in/talking about, then drop me a line sometime. I have all kinds of documentation on integrating the two together. It can be a pain in the butt. Those are basically the componets you need in order to write and test web applications.
Hope this helps,

Java: The power, elegance, and simplicity of a hand grenade
HanMing Low
Ranch Hand

Joined: Oct 18, 2001
Posts: 196
Hi Ryan,
I'd very much apprecitate if you can provide us with the documentation of integrating Tomcat with a web server especially Tomcat 4.x with IIS.
I've tried to integrate Tomcat 4.x with IIS or replace Oracle default Apache Server with JServ to Tomcat but to no avail as there seem to be too little information on it.
Thanks in advance for any information.

Han Ming
Shin Hashitani
Ranch Hand

Joined: Dec 04, 2001
Posts: 54
I started studying J2EE a couple of month ago, and I had a similar problem understanding what they all do, or what exactly is J2EE.
I turned to books:
Enterprise JavaBeans 3rd edition by Richard Monson-Haefel
They have workbook (for WebLogic and WebSphere), and I ran examples one by one. The way things work is different from Web Component alone apprication, so this book and workbook helped me understand what exactly EJB is in J2EE.
J2EE RI has some command-line tools in /bin directory. "deploytool" is what you need to deploy components, and it has a nice GUI front.
For development,
if you are looking for IDE,
http://www.netbeans.org or http://www.sun.com/forte/ffj/
These two are, I think, popular free IDEs.
I use NetBeans, but stripped off some features because I never use them. NetBeans has "Object Browser" feature which let you browse into jars, and it helped me understand things when I started.
I also use IDEA
Not free, but free 30-day trial version is available. For me, IDEA has what I need, and doesn't have what I don't need.
If you are not familiar with Ant tool, I suggest you to look into some documents for it. Ant is compile&deploy(and auto testing) tool written in Java, configurable in XML. It's easy, and comes in handly during development.
Many IDE tools has Ant feature built-in, so you probably don't have to download anything.
I am now reading WebLogic documents, and looking through "PetStore" example available from Sun Brueprints:
This petstore app is big, but it shows what J2EE can do, with code. It's very educational.
I had a toughest time understanding the whole picture, and still struggling to learn details. But a little later, you'll start to see what they all are and how they work together.
Good luck with your study.

Shin Hashitani

/*<br /> * Quants Inc.<br /> * Engineer<br /> *<br /> * Shin Hashitani<br /> * hashitani@quants.co.jp<br /> * <a href="http://www.quants.co.jp" target="_blank" rel="nofollow">www.quants.co.jp</a><br />*/
I agree. Here's the link: http://aspose.com/file-tools
subject: New to J2EE, need help getting started
It's not a secret anymore!