[Beginners Corner] - Creating Shared Libraries
by Pramod1234
Hello
I have an application which is in the form of an EAR . I have a requirement where i need to acceses jars which are outside the EAR . The problem is i cannot use server/lib dir as I have turned the java2parent delegation off I want the classloader of my app to to load the external jars .
I have read somewhere that if we place an xml with the foll tags in it
| <server>
| <classpath codebase="file:/d:\jobdir\" archives="job0.jar"/>
| <classpath codebase="file:/d:\jobdir\" archives="job1.jar"/>
| </server>
|
in the deploy folder then these jars are visible to all apps. How ever i dont
have the complete details
CAN ANYONE PLEASE TELL ME HOW TO CREATE A SHARED LIBRARY IN JBOSS SAME AS WHAT WE HAVE IN WEBSPHERE
Thanks
Pramod
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149786#4149786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149786
18 years, 1 month
[JNDI/Naming/Network] - Re: A question about dependency injection @EJB
by jaikiran
"thomas2008ch" wrote :
| 1.
| I've downloaded the JBoss 5 Beta4. But it's the same, i.e. I got the NULL-Pointer Exception.
|
I haven't tested it myself. I have seen users mentioning that the injection works in servlets with JBoss-5 Beta 4. But i don't know whether it works in application clients yet.
"thomas2008ch" wrote :
| 2.
| With JBoss 4.2.1 I can use the
|
| | "@RemoteBinding(jndiBinding = "MyJNDIName")" which you told me yesterday.
| |
|
| But this doesn't work in JBoss 5 Beta4. I can't find the JNDI Name in the JNDI View List.
In JBoss-4.2.x, the @RemoteBinding was part of org.jboss.annotation.ejb package.
import org.jboss.annotation.ejb.RemoteBinding;
In JBoss-5, the @Remote binding is now part of org.jboss.ejb3.annotation package.
import org.jboss.ejb3.annotation.RemoteBinding;
Did you ensure that you changed your bean to use this new package?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149778#4149778
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149778
18 years, 1 month