Java EE 5 Application Clients?

This is a discussion on Java EE 5 Application Clients? within the J2EE forums in Framework and Interface Programming category; 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...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 01-20-2008, 09:04 AM
Allen George
Guest
 
Default 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
Reply With Quote
  #2  
Old 01-28-2008, 01:49 PM
Gregory Shrago (JetBrains)
Guest
 
Default Re: Java EE 5 Application Clients?

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

Reply With Quote
  #3  
Old 02-04-2008, 02:15 PM
Allen George
Guest
 
Default Re: Java EE 5 Application Clients?

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 <java> 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...
Reply With Quote
  #4  
Old 02-06-2008, 02:06 AM
ian thong
Guest
 
Default Re: Java EE 5 Application Clients?

Hope this could help you?

http://quick-help.net/Java-Ee-5-Application-Clients-Ear
Reply With Quote
  #5  
Old 02-06-2008, 02:39 PM
Allen George
Guest
 
Default Re: Java EE 5 Application Clients?

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.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:57 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.