-
1. Re: How do you run app in a Ear file that has a application-
shagrath Aug 7, 2006 4:56 AM (in response to scruffy323)i'm trying to do the same... to bad nobody cares to answer.
but i suspect j2ee spec to be incomplete, to say the least:
-> spec J2EE 1.4, section 9.6How an application client is invoked by an end user is unspecified. Typically a J2EE Product Provider will provide an application launcher that integrates with
the application client machine?s native operating system, but the level of such
integration is unspecified. -
2. Re: How do you run app in a Ear file that has a application-
scruffy323 Aug 8, 2006 2:41 PM (in response to scruffy323)I just believe that the spec isn't incomplete but the implementation by jboss for this rarely used part is.
-
3. Re: How do you run app in a Ear file that has a application-
a.rubalcaba Aug 23, 2006 1:09 AM (in response to scruffy323)Is there a way to call an EJB from a Standalone Java Application from within Eclipse? Say I have a HelloWord Bean that outputs a simple Say Hello World Message. Is there a way to create a Java Client Application and test it from within Eclipse as a Standalone Java App that calls that Beans?
-
4. Re: How do you run app in a Ear file that has a application-
jaikiran Aug 24, 2006 10:28 AM (in response to scruffy323)Yes, you can. Is your bean a secure EJB or is it unsecure? If its a secure EJB then you will have to do a JAAS login before accessing the bean. If its not then, a simple lookup of the remote home of the EJB and later on invoking the method on the bean will work. Note, than you can use only remote interface/home of the EJB from the standalone java client.