[EJB 3.0] - Re: Ejb3 sources in zipped form
by skajotde
"wolfc" wrote : The aim of the game here is to get one set of stable components which are certified against EJB 3.0 specs. Since it's a lengthy process to ascertain both certification and stability I want these components to stay solidly in place for a long time.
|
| On top of this we'll develop new components to add the extra features required by EJB 3.1 and other feature packs:
| - class based queuing for invocations
| - clustered timer service
| etc.
|
| The feature packs will have a separate release cycle. So you might see an EJB 3.1 installer for AS 5.1 (while the basic installation is JavaEE 5 / EJB 3.0).
|
Yes, EJB 3 specs is challenge.
"wolfc" wrote :
|
| So you're seeing multiple components in the repository. It is even possible to use these components outside of EJB 3 scope.
|
| What we don't have yet is a nice graph which shows a good view of these components. So if anybody has some suggestions?
I think it is great that library can be used outside EJB3 and provides model and metatada. But main purposes of this libraries are be part of EJB3 product so I think it should be versioned in one way with one version number for releases of all libraries. So change in library-a should increase version in all libraries ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204730#4204730
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204730
17 years, 2 months
[JBoss Portal] - Ajax Request and Session prolongation
by speleomaniac
Hi everybody,
I have a question...
We have a portal application which we build some Ajax functionality for it with JBoss Portletbridge and Richfaces....
We have an Ajax Poll in one of the web page and we are expecting that pool prevent that our portal application would get Session Timeout but that is not happening...
Our portal application is getting a timeout even that Ajax Poll sending requests. I look to the Ajax Poll requests and I see that they are not going to the /portal URL but to the individual deployed Web applications....
I think that is the reason Portal is getting session prolongation.
I am not sure this by design or this is a bug. If somebody says this is a bug I would report this to some project JIRA (I am not sure to which one,Portal, Richfaces, Portletbridge?)
Thx for the answers...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204725#4204725
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204725
17 years, 2 months
[EJB 3.0] - circular reference issue
by amarkovits
I updated my jboss from 4.0 to 4.2. I changed in code most of the ejb related annotation modifications and everitying is working except one thing. I get this error:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:jar=abpejb.ejb3,name=AccountFacadeBean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
jboss.j2ee:jar=abpejb.ejb3,name=AccountFileFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=ChargeDAOBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=LiveTimeQueueFacadeBean,service=EJB3
persistence.units:jar=abpejb.ejb3.jar,unitName=manager1
jboss.j2ee:jar=abpejb.ejb3,name=InvoiceFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=PropertyFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=OperatorFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=LoggerBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=AccountGroupDAOBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=AccountDAOBean,service=EJB3
Depends On Me:
jboss.j2ee:jar=abpejb.ejb3,name=InvoiceFacadeBean,service=EJB3
ObjectName: jboss.j2ee:jar=abpejb.ejb3,name=InvoiceFacadeBean,service=EJB3
State: NOTYETINSTALLED
I Depend On:
jboss.j2ee:jar=abpejb.ejb3,name=MailSenderBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=AccountFileFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=AccountFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=FaxBatchFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=PaymentFacadeBean,service=EJB3
persistence.units:jar=abpejb.ejb3.jar,unitName=manager1
jboss.j2ee:jar=abpejb.ejb3,name=InvoiceDAOBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=ChargeFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=PrintJobFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=OperatorFacadeBean,service=EJB3
jboss.j2ee:jar=abpejb.ejb3,name=LoggerBean,service=EJB3
Depends On Me:
jboss.j2ee:jar=abpejb.ejb3,name=AccountFacadeBean,service=EJB3
>From what i read the problem is that i'm using circular references to injected EJB's (using the the EJB annotation).
In AccountFacadeBean i have:
@EJB
private InvoiceFacadeLocal invoiceFacade;
and in InvoiceFacadeBean i have:
@EJB
private AccountFacadeLocal accountFacade;
I read somewhere that i should also put a @IgnoreDependency annotation but i didn't find this annotation in any package.
What should i do? Is there any way to fix it?
Andrei
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204720#4204720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204720
17 years, 2 months
[Installation, Configuration & DEPLOYMENT] - JBoss classpath/classloader questions
by rziegler72@yahoo.com
Hi, please let me know if I'm in the wrong place.
QUESTION: Is it possible to use a classpath or classloader setting to load jars from a location outside our app's deployed war WEB-INF/lib location, but AFTER the app's WEB-INF/lib jars have already been loaded?
BACKGROUND: Our company has an enterprise app distributed as a war file that's running great when deployed to JBoss 4.2.2. As seems standard with web apps, we include several 3rd party and internally written jars under WEB-INF/lib, and life is good.
This war file is our 'standard' app that most of our clients will get, but we have decided to give clients the ability to create their own 'custom' logic (jar files) using our API that they could use along with our standard app.
The only deployment solution folks have come up with for this custom jar has been to just put it under WEB-INF/lib along with the other jars, and bounce the app server so it can be seen. This seems like a simple enough solution, but the next time a new standard war file is deployed, that WEB-INF/lib would get cleaned up, and someone would have to manually put the custom jar back in place under WEB-INF/lib again since they're not part of our standard war file.
We don't want to package the custom jars in our standard war file, since we don't want to maintain custom war files, and clients could change their jars on their schedule, so we'd never be in synch anyway.
The catch is that this custom jar is dependent on much of the logic contained in the other 3rd party and internal jars (import statements, etc), and any classpath settings I've tried look like they're loading this jar BEFORE the others, which won't work because of it's dependencies, and we just get the 'ClassDefNotFound' errors in the app.
I've tried several locations to put this custom jar, including -- server/XXX/lib, server/XXX/endorsed (with the -D arg pointing to the endorsed location), JBOSS_HOME/lib, and using the JBOSS_CLASSPATH variable, but none of them seem to do what I'd like.
I'm a Configuration Mgr (not a Java developer), so a lot of the documentation I've found on the wiki relating to classpaths/classloading is above my head...
Is what I'm trying to do possible, given the custom jars dependencies?
The system in question is JBoss 4.2.2 on Solaris 10, but we also run JBoss on Linux, Windows, and AIX.
Thank you in advance for any assistance you may be able to provide, and let me know if there's any other info I can post.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204719#4204719
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204719
17 years, 2 months