-
1. Re: Deploying EJB3 EAR File to WebLogic 9.2
neilac333 Oct 2, 2007 7:20 PM (in response to neilac333)I saw in Gavin's answer to another post that Microcontainer configuration is unnecessary in Seam 2.0. Why is that? How will that be accomplished in the new version?
-
2. Re: Deploying EJB3 EAR File to WebLogic 9.2
gavin.king Oct 2, 2007 8:32 PM (in response to neilac333)It is automatically bootstrapped by SeamTest.
-
3. Re: Deploying EJB3 EAR File to WebLogic 9.2
pmuir Oct 3, 2007 7:52 AM (in response to neilac333)WLS 10 is JEE5 compatible however we have yet to get the jee5 example running on (lack of time). For 9.2 we have the JPA example, but not an EJB3 example.
-
4. Re: Deploying EJB3 EAR File to WebLogic 9.2
neilac333 Oct 4, 2007 2:16 AM (in response to neilac333)I understand the time constraints. But just briefly then, can an EJB3 deployment work on WL 9.2? If so and if I use Seam 2.0 when it's ready, where does the microcontainer fit in the deployment?
-
5. Re: Deploying EJB3 EAR File to WebLogic 9.2
juntao Oct 4, 2007 11:39 AM (in response to neilac333)I do not think anyone has tried JBoss EJB3 (or JBoss Embedded) on WL 9.2 the same way as we did in Tomcat. But you can try ... Thanks.
-
6. Re: Deploying EJB3 EAR File to WebLogic 9.2
neilac333 Oct 4, 2007 12:12 PM (in response to neilac333)Well, then I guess I can try to replicate the Tomcat examples as much as possible and see what happens. Which are the Tomcat samples again? Also, since Tomcat deployments are WAR files, should I deploy a WAR file to WL 9.2 as well? If I deploy an EAR, do I simply model the Tomcat/EJB3 setup in the WAR component of the EAR?
-
7. Re: Deploying EJB3 EAR File to WebLogic 9.2
neilac333 Oct 4, 2007 1:29 PM (in response to neilac333)Perhaps a better way to phrase the question is this:
If you were going to give an embedded EJB3 deployment of Seam on WL 9.2 a shot, how would you go about it in terms of deployment type (WAR or EAR) and packaging structure (where the libraries are). -
8. Re: Deploying EJB3 EAR File to WebLogic 9.2
pmuir Oct 4, 2007 4:22 PM (in response to neilac333)I would follow the tomcat deployment as close as possible so a war.
However before that I would make absolutely sure I wasn't happy with a JPA based deployment. You get everything the same as with EJB3 - just no MDB, less good clustering support. And it's a easier path to a full EJB3 app from there when we get Seam running on the JEE5 Weblogic. -
9. Re: Deploying EJB3 EAR File to WebLogic 9.2
neilac333 Oct 5, 2007 11:11 AM (in response to neilac333)I was thinking the same thing. Just follow the Tomcat sample and pray it works!
Now this may be a semantic thing, but I always planned on a JPA based deployment--whether I went with EJB3 or POJOs. The plan was to use a persistence archive with Hibernate JPA hitting a datasource created on WL 9.2 and making that archive part of the larger deployment package (EAR or WAR).
I was hoping to leverage EJB3 (or the reasonable facsimile provided by the embedded container) for management of session beans, transactions, managed persistence contexts, and all the other wondrous joys provided by the EJB3 spec. Not to mention that when and if my deployment environment (controlled by powers far outside my control) gets upgraded to WL 10 and certain EJB3 capability, then refactoring would be trivial.
Does that clarify things? What did you mean by "JPA based deployment"? I have found the JPA vs. EJB3 entity beans discussion is always tricky. Also, just to be clear, are you saying I should pursue a POJO-based deployment as the existing WL 9.2 samples have rather than attempt the Tomcat-like EJB3 deployment? -
10. Re: Deploying EJB3 EAR File to WebLogic 9.2
pmuir Oct 5, 2007 12:14 PM (in response to neilac333)"neilac333" wrote:
I was hoping to leverage EJB3 (or the reasonable facsimile provided by the embedded container) for management of session beans, transactions, managed persistence contexts, and all the other wondrous joys provided by the EJB3 spec.
You get most of this with a setup like the JPA example (except session beans, you use JavaBean Seam components instead).Does that clarify things? What did you mean by "JPA based deployment"? I have found the JPA vs. EJB3 entity beans discussion is always tricky. Also, just to be clear, are you saying I should pursue a POJO-based deployment as the existing WL 9.2 samples have rather than attempt the Tomcat-like EJB3 deployment?
Yes, that would be my advice.