Java EE 5 Application Clients?

Hi,

Is there a way to mark a module or a code-tree in an existing module as an application client for packaging into an EAR?

I'm unclear about what the right way to designate an application client (with corresponding Manfiest.mf) in IDEA 7.0

Thanks,
Allen

4 comments
Comment actions Permalink

Hello Allen,

While there is some application-client.xml coding assistance
(completion, etc), unfortunately IDEA doesn't support ejb clients,
i.e. there is no ejb client facet.

You seem to be the first person to ask!

EJB3.0 facet without ejb-jar.xml and manually added
application-client.xml (as additional resource) may help you to
workaround this. The facet should be manually referenced in application.xml.


Regards,
Gregory Shrago


Allen George wrote:

Hi,

Is there a way to mark a module or a code-tree in an existing module
as an application client for packaging into an EAR?

I'm unclear about what the right way to designate an application
client (with corresponding Manfiest.mf) in IDEA 7.0

Thanks, Allen

0
Comment actions Permalink

Thanks for replying Gregory...

I ended up doing what you suggested (because you can't add a non-JavaEE jar to a EAR via IDEA). I didn't use application-client.xml because I thought that it was optional, but I added a ]]> stanza to the EAR's application.xml referring to the client jar. Unfortunately when deployed to Glassfish the app server complains about a missing Manifest.mf even though one is included...

0
Comment actions Permalink

Thanks Ian. I'll take a look at those links, though not right yet - I'm trying to debug some BPEL and schema validation issues.

0

Please sign in to leave a comment.