[Installation, Configuration & DEPLOYMENT] - Enforce dependency on LocalHome interface?
by niefeng
Hi all,
I have the scenario that module A (contain a session bean A) is depending on module B (contain a sessionbean B) meaning during shutdown of the AP server, module A need to be undeploy first prior B.
After google it, I found out that the we can use the add the tag "jboss.j2ee:service=EJB,jndiName=somejndiName " define in the jboss.xml of module A.
However, if I use the jndiName that point to the localHome interface of the Session Bean B instead of the Home interface of the session bean B, the startup of the JBOSS AS is throwing some exception as follow
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.j2ee:service=EJB,jndiName=test.framework.jms.ejb.B_Local_Home
| State: NOTYETINSTALLED
| Depends On Me:
| jboss.j2ee:service=EJB,jndiName=test.document.facade.ejb.A_Home
|
|
If I change the dependency using the Home Interface of session bean B, the deployment is fine.
Is it true that we can't make such a dependency to the LocalHome interface of a session bean?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109550#4109550
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109550
17 years, 1 month
[JBoss Seam] - Re: Can Seam Remoting use JSON over XML?
by samdoyle
I have usually found it easier to create a separate class for returning resultsets since there is most of the time a lot to strip out. Even so the verbosity and inclusion of metadata in the response really increases the response size.
We had a case where we had a large set of data being requested and the remoting response ended up to be 500k and the loading time was not acceptable. As a result we were required to create a custom solution.
On the topic of remoting can you tell me what the status is of the JavaScript JMS topic subscription is? We have done some prototyping using server side push with DWR and decided this is pretty much the direction we want to go in. The JMS topic subscription in Seam has always been classified as experimental. Is this still the case?
S.D.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109541#4109541
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109541
17 years, 1 month