jar « ejb « Java Enterprise Q&A





1. create manifest without classpath entries in ejb-client jar, but have classpath entries in main ejb jar using maven-ejb-plugin    stackoverflow.com

I am using maven-ejb-plugin to generate the ejb jar and the client jar. Also I am using archive to generate the manifest file. But the problem is I need the classpath entries ...

2. JBoss, exploded jar vs compact jar    stackoverflow.com

I am working on Java 1.6, JBoss 5.1, EJB 3, and Hibernate 2. Every time I deploy the ear, if the jar is a compact one (non-exploded), application doesn't work. However ...

3. "java.lang.ClassNotFoundException: javax.ejb.EJBObject" when running JAR    stackoverflow.com

I'm getting a java.lang.ClassNotFoundException: javax.ejb.EJBObject error when I'm running my application as a JAR file. When running it in Eclipse everything is working fine. The application properly access the main class and ...

4. Use external jars in EJB (JBoss)    stackoverflow.com

I want to use two external jars from EJB:

  1. jar #1 - all interfaces of the EJB (home, remote etc)
  2. jar #2 - some types which I use inside my EJB
What should I ...

5. Does the ejb jar should be compiled on the same JVM that deploys the JBOSS AS    stackoverflow.com

I have two machines with difference JVM versions (1.6 and 1.5) I have a JBOSS Server running on the one of JDK1.5. I've created a ejb jar file on the machine of JDK1.6 When ...

6. How do I create several ejb jars in a Gradle build project?    stackoverflow.com

I have a multi-project build and in each of the projects I have several packages in the main src tree which need to be packaged up separately from the rest of ...

7. problem with the injection of an EJB that resides in a jar    stackoverflow.com

I have some problems regarding the EJB injection and I haven't been able to find a solution anywhere.
My situation is the following: I have an EAR file that includes a WAR ...

8. @EJB inject from different jar    stackoverflow.com

I'm trying to inject a bean located in a different jar file then the bean i'm trying to inject it into. Both beans are just basic @Stateless beans with local and ...

9. How can I export the EJB client jar file ?    forums.netbeans.org

Hi there, I'm looking for how to export all my remote/local interfaces to an EJB client jar, we can shipping the stubs only to the remote applicaion server. But I can ...





10. Invalid ejb jar - it contains zero ejb.    forums.netbeans.org

I have an EAR that that always worked with GF 2.1.1 and NB 6.9.1. I recently added two MDB that needed to connect to a remote GF server. In order to specify the activationConfig parameters for the MDB, I had to create an ejb-jar.xml and sun-ejb-jar.xml that specified deployment-specific parameters. All worked until we started testing failure scenarios and found out ...

12. NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar    forums.netbeans.org

Hi, Prior to NetBeans 7, I was able to specify the dependent NetBeans projects and jar files for a given EJB and NetBeans would bundle those jar files automatically with the EJBs jar. It doesnt appear that this works any more. Only the classes for the EJB are in the jar now. The package checkboxes are checked for all the dependent ...

13. Re: NetBeans 7.0.1 does not bundle dependent jars into deployed EJB jar    forums.netbeans.org

Looks like one work around is to make the EJB part of an enterprise application project. That's a regression since the 6.9 version, but making it part of an ear isn't so bad in the short term. BTW, for those of you who attempt to create a JEE project for GF 2.1.1 in NetBeans 7.0.1, you'll have to deinstall the JEE-related ...

14. EJB as a Web Service - ejbclient.jar    coderanch.com

15. How to create a signed jars    java-forums.org

Hi All, I have to run my J2ee bynx/ge/bt applications using Oracle Jdeveloper10g IDE. Please help me reg the jarsign How to create a signed jars. Below this command I executed in my system command prompt, jarsigner -keystore mykeys -storepass abc123 -keypass mypass app.jar johndoe Here is my Exception:- jarsigner error: java.lang.RuntimeException: keystore load: null ASAP reply plz.... Thanks, Ram

16. Adding jars at runtime    java-forums.org

Hi, periodical I'm getting jars, which contain Java-Applications. Now I want to search these jars for more jars and add them to my classpath using a Java Standalone program. After that I want to get the included classes using Class.forName and analyze them by reflection. I already managed it to search the jars for classes. But when I tried to get ...





17. Which jar file required to EJB3 client    java-forums.org