| 
| J2EE example code for Eclipse [message #121126] | Thu, 01 December 2005 14:43  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: sher.sherware.net 
 Hi,
 I've been searching for a simple J2EE example
 application with code and Eclipse project so
 that I can learn J2EE, eclipse and Tomcat.
 I've tried to find examples via Google and also
 on the eclipse site but can't seem to find any
 - except for the basic Hello World.
 I'm looking for a simple example which would
 get me up to speed on EJBs, deployment descriptors
 and all the J2EE plumbing which I find quite confusing.
 I'm experienced with Servlets, JSP pages and JAVA,
 but need to get upto speed on EJBs and the J2EE
 Framework. I conceptually understand the MVC framework
 and the idea behind EJBs but I need to know the
 nuts and bolts and would like a good example
 project which covers J2EE but isn't way too complicated.
 I'd really appreciate any help in this regard.
 Please feel free to email me directly at sher@sherware.net
 Thanks :)
 -Sher
 |  |  |  | 
|  | 
|  | 
| 
| Re: J2EE example code for Eclipse [message #123095 is a reply to message #123069] | Fri, 09 December 2005 18:02  |  | 
| Eclipse User  |  |  |  |  | Sher wrote: 
 > Hi,
 > is there any way to deploy a J2EE application
 > (i.e. EJBs, Servlets and JSP pages) with Eclipse
 > and the SYSDEO Tomcat plugin without resorting to
 > additional plugins like LOMBOZ, or Eclipse WTP ?
 > I have Eclipse 3.1, Tomcat 5, and the SYSDEO Tomcat plugin. I'd like to
 > get the
 > cmp bean exampls and J2EE examples from
 > "The J2EE Tutorial" book (published by Sun
 > - also came with the SunOne Server) running in
 > my setup.
 > Much Appreciated :)
 > -Sher
 >
 All on one box?  I know how to do it caveman style.  Create a project,
 and then from the File menu choose New->Folder and click the Advanced
 button and check 'Link to folder in file system' and choose the top
 folder of your tomcat deployment directories.  Now you can drag and drop
 to deploy and you can also edit files in the live server deployment
 tree.  This can even work across boxes if the folder chooser can see the
 remote folder in the network file system.
 
 Otherwise, the WTP all in one package isn't so bad.  You can unzip the
 distribution file in a new directory and aim that eclipse's workspace at
 the one you have now.  You may have to (re)install the SYSDEO plugin in
 the WTP copy of eclipse though.  An installation agnostic workspace and
 enough room for multiple eclipses can be a real plus for keeping up with
 WTP.
 
 -
 Steve
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.11429 seconds