Questions tagged [application-client]

A java SE client which runs through the ACC on Glassfish to access EJB's.

Use the appclient command to launch the Application Client Container and invoke a client application that is typically packaged in an application JAR file. The application client JAR file is specified and created during deployment by the Administration Console or the asadmin deploy command with the --retrieve option. You can also retrieve the client JAR file using the asadmin get-client-stubs command. The Application Client Container is a set of Java classes, libraries, and other files that are required to execute a first-tier application client program on a Virtual Machine for the Java platform (JVM machine). The Application Client Container communicates with the server using RMI-IIOP.

GlassFish Server Open Source Edition Reference Manual Release 4.0

30 questions
27
votes
1 answer

Different kind of Java EE projects

What is the different between different kind of Java EE projects in Eclipse WTP? There are: Application Client Project Connector Project Enterprise Application Project Utility Project
nanda
  • 24,458
  • 13
  • 71
  • 90
7
votes
2 answers

Difference between an application client and a stand-alone client

As the title suggests, this is in relation to Java EE and Glassfish in particular. From what i've learned the application client is executed in some application client that has the ability to talk to glassfish. But there seems to be limitations to…
Peter Lindqvist
  • 10,122
  • 3
  • 41
  • 60
5
votes
2 answers

EJB 3: Accessing a stateful session bean from an application client

I am having some trouble accessing a stateful session bean (SFSB) from an application client. I am using JBoss 5.0.1.GA. The application client and the EJBs are both packaged in an EAR which deploys and I have other application clients which work…
Simon Lehmann
  • 10,737
  • 4
  • 41
  • 53
5
votes
2 answers

EJBs with main() - what is this all about?

While doing the original training for EJBs from Sun I came across the rather strange concept of a enterprise application client which has the notion of dependecy injection and a main class: @javax.ejb.EJB private static…
Martin
  • 11,577
  • 16
  • 80
  • 110
4
votes
1 answer

Multiple entry point (mainclass) for application client jar

How do I set up multiple entry points in an application client jar? I am using Glassfish application server. I can grab the client using asadmin get-client-stubs --appname APPLICATION_NAME . I currently can run the default mainclass that I have…
Tazzy531
  • 494
  • 7
  • 20
4
votes
2 answers

Deploying an ear containing an Application Client on Glassfish 3.1.2 throws exceptions

I'm asking this question just so I can answer it myself, because it's driven me nuts for two days and no one else should have to suffer as I have. When deploying my ear, I get exceptions like this : Exception while invoking class…
jportway
  • 917
  • 8
  • 17
3
votes
1 answer

Java EE 6 Application Client login

I am quite new to Java EE and have been having a lot of trouble just getting started on the application I want to create. What I would like is a Swing application client that connects to an EJB project. I am using Glassfish v3.1.1. What I have so…
3
votes
2 answers

Application client using @EJB annotation and Maven on Glassfish

There is an example in NetBeans site how to create Application Client using simple projects (without Maven). There are 4 projects needed (EJB, EAR, Lib, Program). This tutorial is simple and works perfectly. I want to ask how to do the same with…
Minutis
  • 1,193
  • 1
  • 17
  • 47
2
votes
2 answers

GlassFish Application Client Container

I'm trying to work with the Embeddable Glassfish app client container. The only resources I can find are the above mentioned javadocs which contain this tantalising code snippet import org.glassfish.appclient.client.acc.AppClientContainer; import…
Tim Sparg
  • 3,294
  • 2
  • 27
  • 40
2
votes
1 answer

Unable to run app-client that is accessing an EJB on GlassFish v3

Environment: GlassFish 3.0.1, NetBeans 6.9, JDK 6u21 Problem: Unable to run app-client that is accessing an EJB A bugreport can be found under http://netbeans.org/bugzilla/show_bug.cgi?id=183488 with the corresponding tutorial…
Daniel Szalay
  • 4,041
  • 12
  • 57
  • 103
2
votes
3 answers

EJB3 JNDI Lookup Failure in Java EE application client

I'm trying to access an EJB3 from a Java EE client-application, but keep getting nothing but lookup failures. The client application is running within the Java EE Application Client Container. My Java EE Application 'CoreServer' is exposing a number…
Hank
  • 4,597
  • 5
  • 42
  • 84
2
votes
1 answer

GlassFish and Application Client Web Start: invalid Http response

I've created Enterprise Application and Enterprise Application Client using this tutorial. Both are deployed to remote GlassFish server placed in my local network. When I try to run Application Client with Java Web Start javaws…
barteksch
  • 51
  • 1
  • 5
2
votes
2 answers

maven javaee application client plugin

I am pretty new to maven. Is there any plugin or packaging type suitable for building application client jar file ? I want to add the application-client.xml file to the META-INF folder inside the jar. The normal jar packaging doesn't include the…
rangalo
  • 5,448
  • 8
  • 46
  • 66
1
vote
2 answers

Deploy Application Client by command line (asadmin)

Is there an option/parameter to deploy an application client with java-web-start enabled with the asadmin command? I work with GlassFish 3.1.1. I have a jar-file which works well, when I deploy it in the webgui Type: "Application Client" …
1
vote
2 answers

Create an "Application Client" with Maven in Java EE

I am trying to create a maven based Enterprise Application with an Application Client which runs in the Application Client Container from GlassFish. It should fit togheter as the Project template from Netbeans "Enterprise Application" + "Enterprise…
h2mch
  • 521
  • 5
  • 23
1
2