|Re: WTP Book - LeaguePlanet example [message #199343 is a reply to message #199335]
||Mon, 03 September 2007 17:19
| Vadim Dmitriev
Registered: July 2009
Few answers for a few questions:
>Do I need JBoss or just Tomcat?
Tomcat is not an application server, so no EJB support is provided.
Between these two - JBoss is your choice.
>Do I need to download and install J2EE?
You cannot download and install J2EE independently. Mostly J2EE spec
providers reside within application server of some sort (OC4J, OAS,
Websphere, Geronimo, JBoss, Weblogic... you name it).
So generally, when you install all environment needed for you application
(server, DB, etc.) you will have all of J2EE you need at your fingertips.
>My LeaguePlanetWebProject module has not been automatically added to the
modules >list of the associated EAR project. Can I do this manually?
Certainly. Right-click your EAR -> properties -> J2EE module dependencies.
|Re: WTP Book - LeaguePlanet example [message #199464 is a reply to message #199335]
||Thu, 06 September 2007 06:30
| Naci Dai
Registered: July 2009
Steve Jones wrote:|
> I'm working (slowly) through the Web Tools Platform Book:
> The book uses a fairly comprehensive example web site called LeaguePlanet.
> I'm running into problems. I'm not sure if they are due to finger
> trouble on my part or that the WTP has moved on and the example is now
> Has anyone has managed to build the example using Europa and WTP 2.0?
The book is based on WTP 2.0, but there are some readers who are using
WTP2.0 and we are trying to help them with the differences. You can
visit http://www.eclipsewtp.org/errata.html and through email from
> So far I've just created the project skeletons using the standard
> wizards as outlined in the book. If anyone can help me with the
> following specifics:
> What version of Struts should I use?
None of the examples in the book require Struts. The examples are
provided for readers who may want to try Struts development with WTP.
If you want to do such a thing, you can download the latest struts
distribution from struts.apache.org (1.x or 2.x), and copy the struts
jars into WebContent/WEB-INF/lib or alternatively keep the in a common
place for all projects and include them in your Web project using J2EE
> Do I need JBoss or just Tomcat?
Tomcat is good to do Web projects, but to try EJB examples you will
need a server with an EJB container (i.e. JBoss)
> Do I need to download and install J2EE?
No - Servers (Tomcat/Jboss etc) provide this support
> My LeaguePlanetWebProject module has not been automatically added to the
> modules list of the associated EAR project. Can I do this manually?
Open the properties window for the EAR project, go to J2EE Module
dependencies, check the LeaguePlanetWebProject to include it in your EAR .
> The EJB project has thrown the following error that is not mentioned in
> the book:
> An EJB module must contain one or more enterprise beans.
This is a validation message telling you that an EJB project without
EJBs exist in your workspace. When you create a new EJB in this
project, it will dissappear.
> Thanks, Steve.
Powered by FUDForum
. Page generated in 0.03381 seconds