I wanted to ask folks a question about the Java Petstore application as
packaged by Sun. First this is used as a teaching tool and there's some EJB
relavance here but if anybody can direct me to a more appropriate forum I'd
appreciate this.

I'm porting to the Petstore to weblogic and notice that Sun has an Ant rule
defined to build their .ear jar and I don't understand why they aren't using
jar or using the jaring facility in Ant already to do this.

Doing this like they've done simply introduces a portability issue as this
class isn't avaliable in other app server's jars.

Isn't all they are doing here is building their .ear file?

<target name="ear" depends="init">
                <property name="ear.contents"
value="${petstore.ejbjar}:${petstore.mailerejbjar}:${petstore.signonejbjar}:
${petstore.inventoryejbjar}:${petstore.customerejbjar}:${petstore.personaliz
ationejbjar}:${petstore.shoppingcartejbjar}:${petstore.war}"/>
                <delete file="${petstore.ear}"/>
                <java classname="com.sun.enterprise.tools.packager.Main" fork="yes"
classpath="${j2ee.classpath}" args="-enterpriseArchive ${ear.contents}
petstore ${petstore.ear}"/>
        </target>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to