Hibernate EJB3 (J2SE) vs. Generic EJB 3 Persistence [message #433684] |
Tue, 11 April 2006 13:39  |
Eclipse User |
|
|
|
Originally posted by: jakieskonto1.wp.pl
Can anyboday explain me a difference between Hibernate EJB3 (J2SE) and
Generic EJB 3 Persistence. The most important is how can I use those
products?
Is e.g. Hibernate EJB3 (J2SE) dedicated jus for SE environment, do I need
an application server with enterprise beans container to Generic EJB 3.
Can I use Generic EJB 3 within simple SE application. And last question is
how is Hibernate EJB3 build, is this hibernate with EJB 3.0 API or is this
completly new implementation (so why does it have hibernate in name)...
Than you for all explanation.
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Hibernate EJB3 (J2SE) vs. Generic EJB 3 Persistence [message #580358 is a reply to message #433684] |
Tue, 11 April 2006 16:38  |
Eclipse User |
|
|
|
Olo,
EJB3 Persistence (more specifically the Java Persistence API(JPA)) is a
specification which was created to standardize Java object persistence.
Hibernate will be one of several implementations for this standard. I'm
not sure what you mean when you refer to "Generic EJB 3". The concept of
having a specification is that compliant implementations of this spec will
be interchangeable, assuming that you have written your application to the
specification.
The Dali project provides generic tooling for EJB3 implementations, but
the implementations themselves will be persistence providers such as
Hibernate, TL Essentials, etc.
JPA is designed to provide persistence inside or outside a JEE container,
so persistence providers will generally support both of these contexts.
Neil
> Can anyboday explain me a difference between Hibernate EJB3 (J2SE) and
> Generic EJB 3 Persistence. The most important is how can I use those
> products?
> Is e.g. Hibernate EJB3 (J2SE) dedicated jus for SE environment, do I need
> an application server with enterprise beans container to Generic EJB 3.
> Can I use Generic EJB 3 within simple SE application. And last question is
> how is Hibernate EJB3 build, is this hibernate with EJB 3.0 API or is this
> completly new implementation (so why does it have hibernate in name)...
> Than you for all explanation.
|
|
|
Re: Hibernate EJB3 (J2SE) vs. Generic EJB 3 Persistence [message #580386 is a reply to message #433689] |
Tue, 11 April 2006 17:33  |
Eclipse User |
|
|
|
Originally posted by: jakieskonto1.wp.pl
When I refer to "Hibernate EJB3 (J2SE)" and "Generic EJB 3 Persistence" I
mean some options that I can choose using JSR220-ORM Project (Dali)
available here http://www.eclipse.org/jsr220orm/ These are
implementations of EJB 3 Persistence but I couldn't find more details
about those two. I'm just wondering if both can be used in simple JSE
application, or maybe I need ejb container for generic ejb 3 persistence
(some tutorial:-)). I used Hibernate EJB3 (J2SE) within SE environment,
but I need to check ejb generic. So thx for any hint with this.
|
|
|
Re: Hibernate EJB3 (J2SE) vs. Generic EJB 3 Persistence [message #580433 is a reply to message #433690] |
Wed, 12 April 2006 09:46  |
Eclipse User |
|
|
|
Olo wrote:
> When I refer to "Hibernate EJB3 (J2SE)" and "Generic EJB 3 Persistence" I
> mean some options that I can choose using JSR220-ORM Project (Dali)
> available here http://www.eclipse.org/jsr220orm/ These are
> implementations of EJB 3 Persistence but I couldn't find more details
> about those two. I'm just wondering if both can be used in simple JSE
> application, or maybe I need ejb container for generic ejb 3 persistence
> (some tutorial:-)). I used Hibernate EJB3 (J2SE) within SE environment,
> but I need to check ejb generic. So thx for any hint with this.
It appears that you are using the jsr220orm plugins instead of the dali
plugins. The two project were merged a few months ago and now you need to
be using the dali plugins found at http://www.eclipse.org/dali/ You will
have to remove the jsr220orm plugins and follow the instructions to
download the Dali plugins. I hope this clears up some of the confusion.
Karen
|
|
|
Re: Hibernate EJB3 (J2SE) vs. Generic EJB 3 Persistence [message #581676 is a reply to message #433692] |
Wed, 12 April 2006 20:34  |
Eclipse User |
|
|
|
Originally posted by: jakieskonto1.wp.pl
Thx...I switched my plugin to dali plugin and now I go through the create
project tutorial and there is one point that I don'n know how to resolve.
I can't find the ejb30.jar file. Is this within this plugin (where) or
from where I could download ejb30.jar (also other jars if necessary). It
is not mentioned about this there.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.48528 seconds