You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Thomas Kratz <to...@eiswind.de> on 2007/07/06 16:56:27 UTC
deployment & hibernate
Hello all,
this may be a bit off topic, but any help is appreciated.
I am just getting started with SCA in my recent project I used plain old RMI
services.
Now I want to have SCA :) with Web Service Binding. So I implemented a
simple service.
So I learned I have to build a war file that is deployed to tomcat then.
What do I need in this warfile.
I mean the web.xml with the listener config, the libraries, anything else ?
And my second question is a bit more architectural. I want my services to
use ejb3/hibernate persistence layer.
I don't want to use the embedded Jboss because I had much trouble with it
before, so plain hibernate.
How do I implement the all-araund environment for my services ? they need
access to the entitymanager (Service would be cool, then I can use inection)
How do I tell Tomcat to initialize the environment (start the
EntityManagerFactory etc)
Would be glad if someone could figure this out for me because I simply have
no idea. Just getting started :)
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org