jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: EJB Sample in 1.6dev
Date Sun, 23 Nov 2003 20:33:28 GMT
Hi Mark,

> -----Original Message-----
> From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com]
> Sent: 13 November 2003 16:09
> To: 'Cactus-User (E-mail)
> Subject: EJB Sample in 1.6dev
> I've got a question on the ejb sample in the 1.6dev release.  The
> build.properties for the samples mentions needing a j2ee-1.3.jar from
> but the tests are geared twords the jboss and or orion servers.  What
> needed from this j2ee-1.3.jar that isn't available in a jboss
> (thus re-distributable)?  Is this related to a servlet container? If
> can
> that stuff be obtained from tomcat?

The EJB sample requires the J2EE classes. As you mentioned we could get
them from the containers. However, it's a bit complex as it's different
for each container. We need them to compile the EJBs and test classes.
Of course, as a user of Cactus, you can point to the j2ee jar provided
with your container.

Hopefully all this will become much easier soon as the Apache Geronimo
project will be providing this jar containing J2EE classes and it will
be redistributable... Actually it is already available. However, they
have split the different JSR implementation in different jar (one jar
per JSR). I've asked on their ML if they could deliver a single jar
(can't remember the answer though!). I'll have to check back as this
would be the ideal solution.

> I also ask because I've tried building cactus cvs, and the builds
> a
> j2ee-1.x.jar ( either 2 or 3 ), but I couldn't find easy directions
> what
> to get and where to put it.  I was able to make some lousy hacks to
> properties files and finally got it to somewhat build.

I've added the following to the build.properties.sample file:

# Note: The J2EE jar can be retrieved from the Sun web site defined
# Unfortunately, you'll also need to download the whole J2EE SDK just to
# this file. In the future we'll work towards using the JSR jars
provided by 
# the Geronimo project.
# - For J2EE 1.3: http://java.sun.com/j2ee/sdk_1.3/
# - For J2EE 1.2: http://java.sun.com/j2ee/sdk_1.2.1/

> One final unrelated note.  The guide for seeing up a development
> environment
> for the eclipse plugin didn't seem to work. I got through the first
> items ok, but the 3rd had issues.  Specifically, IIRC, i didn't see a
> "Import plug-ins and fragments rquired by existing workspace plug-ins"
> radio.  Maybe I don't have the correct version and or other plugins of
> eclipse (2.1.1)?

Hmmm... Strange. It was tested on Eclipse 2.1.0 I think. Unfortunately
nobody is currently working on the Eclipse plugin. This is sad as it is
a very interesting Cactus integration. 

Have you been able to have a working Eclipse environment? The "import
plug-ins[...]" stuff is simply so that Eclipse resolve dependent plugins
used by the Cactus plugins. You can also do that manually.


> Thanks!
> ~Mark
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message