I’m a newbie. I haven't written any JEE project code of my own yet. I'm still playing with examples written by others. So my reply may not help you. If that’s the case I’m sorry.
JEE 6 + GlassFish 3.1.2 (+ Netbeans 7.2)
When Netbeans 7.2 created the Enterprise Application -> SessionBeanIntro it didn’t create the SessionBeanIntro-app-client and SessionBeanIntroClientLib (Java Class Library). I’ve created those manually. Here are the steps to create app-client,
a. Click New Project
b. Select Java EE
c. From the Projects box select Enterprise Application Client and press Next.
d. Write your Project name and press Next.
e. Now here at Server and Settings at the very top Add to Enterprise Application is located. Select your Enterprise Application. In my case it was SessionBeanIntro. Then press Finish.
In my example SessionBeanIntroClientLib is a Java Class Library. For remote clients, the client project
needs to use the Java Class Library project containing the remote interface.
Why is the SessionBeanIntro-ejb is there? I have no clue. It was in the example so add it to app-client Library. If I remove it, it works fine!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com