By Java SE mode I mean that you'll create EMF using Persistence API,
and won't have container-managed EM/EMF.
thanks,
-marina
Trimble Daniel - dtrimb wrote:
> So you are saying that it's possible to package the JPA stuff into my
> application and use it, but only in Java SE? I am not sure what Java SE
> mode means, pertaining to Jboss.
>
> Daniel
>
> -----Original Message-----
> From: Marina.Vatkina_at_Sun.COM [mailto:Marina.Vatkina_at_Sun.COM]
> Sent: Monday, September 11, 2006 6:41 PM
> To: persistence_at_glassfish.dev.java.net
> Subject: Re: JPA in Jboss 4.0.4 non EJB3
>
> Daniel,
>
> You can use it most probably only in a Java SE mode (as in any other
> non-EJB3 compliant container).
>
> thanks,
> -marina
>
> Trimble Daniel - dtrimb wrote On 09/11/06 08:39,:
>
>>Is there possibly a way that I can use Java Persistence in a non EJB3
>>instance of Jboss 4.0.4?
>>
>>
>>
>>Currently I have tried including the jar's inside of the application,
>>with no luck. I get the following error even though I can instantiate
>>the com.acxiom.Entities.Campaign inside of the application :
>>
>>
>>
>>CORBA Error: Exception [TOPLINK-30007] (Oracle TopLink Essentials -
>>2006.6 (Build 060630)):
>>
>
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingExceptionExce
> ption
>
>>Description: An exception was thrown while loading class:
>>com.acxiom.Entities.Campaign to check whether it implements @Entity,
>>@Embeddable, or @MappedSuperclass.
>>
>>Internal Exception: java.lang.ClassNotFoundException:
>>com.acxiom.Entities.Campaign.]
>>
>>
>>
>>It seems like Toplink is having trouble finding my classes even though
>>they ARE there available.
>>
>>
>>
>>Thanks,
>>
>>Daniel Trimble
>>
>>
>
> ************************************************************************
> *
>
>>The information contained in this communication is confidential, is
>>intended only for the use of the recipient named above, and may be
>>legally privileged.
>>
>>If the reader of this message is not the intended recipient, you are
>>hereby notified that any dissemination, distribution or copying of
>
> this
>
>>communication is strictly prohibited.
>>
>>If you have received this communication in error, please resend this
>>communication to the sender and delete the original message or any
>
> copy
>
>>of it from your computer system.
>>
>>Thank you.
>>
>
> ************************************************************************
> *