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
1
vote
2 answers

Is there application client for ElasticSeach 6.4.3 (similar to DBvear)

I tried to see my node data from application client (like DBvear), but I didn't found information about that. someone found way to connect DBvear to this version or to see the data by similar application?
Lupidon
  • 599
  • 2
  • 17
1
vote
3 answers

Application Client EJB Eclipse Glassfish

I'm using GlassFish Tools Bundle for Eclipse. I need to create a bean and a client that tests it. The bean (and its interface) are the following. package mykPK; import java.math.BigDecimal; import javax.ejb.*; @Stateless public class ConverterBean…
Mycol
  • 245
  • 3
  • 10
1
vote
1 answer

EJB remote application-client

I am starting a new enterprise project and use Glassfish 3 as an application server and NetBeans 6.9 as an IDE. I have some EJBs which I want to access remotely from a desktop Swing application. AFAIK there are two options - either use plain JNDI…
Petar Minchev
  • 46,889
  • 11
  • 103
  • 119
1
vote
0 answers

Java EE Application client VS Web application

Application clients seem like second rate citizens in Java EE and I would like input on why? Eg: the Java EE examples have numerous web applications explaining every use case but not a single example of an application client. There is very little…
Casey
  • 31
  • 6
1
vote
2 answers

eclipse howto start a application client on java ee glassfish appl srv

i have installed the glassfish eclipse tools bundle... i can start a project like dynamic web & a ear project and deploy them on the glassfish... it works perfect & under the localhost url i will get an hello world but how i do this if i want to…
user248359
  • 11
  • 1
  • 4
1
vote
2 answers

How to make an application client get events and notifications from an EJB, pushed by the server?

It is so simple with Java EE and CDI to inject a EJB in an application client and let the application client talk to the EJB. Really simple. And also, this stream of communication is what the whole sum of books and Internet talks about. No one seem…
Martin Andersson
  • 18,072
  • 9
  • 87
  • 115
1
vote
1 answer

Using @EJB injection in an Application Client, both in same EAR

I've searched now for days to find some solution for my, in my opinion not too hard but obviously unsolvable problem. I have an EAR project containing Some EJB, a web client (works fine) and now I added an Application Client Module. As everything is…
0
votes
2 answers

EJB pool while calling EJB from client app

Is it ok if i inject an EJB in the application client through JNDI, and then call this EJB from multiple threads ? Will the j2ee container know to create more ejb to handle more requests ? OR do i have to inject the EJB through JNDI in every thread?
AdrianS
  • 1,980
  • 7
  • 33
  • 51
0
votes
0 answers

Why does the wildfly appclient script start a new instance of wildfly?

An application client is a Java EE client application that runs in the "application client container". But the command line usage here: https://docs.jboss.org/author/display/WFLY8/Application+Client+Reference appears to start up an entirely new…
jordanpg
  • 6,386
  • 4
  • 46
  • 70
0
votes
1 answer

Is it possible to use programmatic login in an application client in Glassfish that also uses bean injection?

While playing with "cart-secure" example in the Glassfish Java EE 7 tutorial I attempted to do "Programmatic Login". In the "CartClient", it is easy to do the programmatic login (say in the constructor). But the problem is the normal callback login…
Mike Hanafey
  • 5,565
  • 4
  • 20
  • 26
0
votes
1 answer

How to run application client container of weblogic 12c server

I am trying to learn Java EE properly and am stumped at a problem. I am unable to get a client to work with my EE application. I asked this question earlier and looked around and found that if I need to run my main method with EE features then I…
Aseem Bansal
  • 6,722
  • 13
  • 46
  • 84
0
votes
1 answer

java application client CORBA exception

I'm new at Java EE. I've been trying to develop a portable Application client, but i cant solve a problem. Its going to be my degree work. It is hard to find informations about app clients. Can somebody tell me, how should i set the server address…
user2426089
  • 1
  • 1
  • 1
0
votes
0 answers

@Inject in a Java EE application client does not work?

Problem Injecting an enterprise java bean with @EJB in an application client, launched with Java web start and from a GlassFish 3.1.2.2 (build 5) server.. works as long as the requirements are fulfilled [see note at bottom]. But all fails if I…
0
votes
1 answer

Authentication of user through the Application client container in GlassFish is too ambitious?

Problem When I inject an @EJB proxy in the Main class of an application client, and that EJB has a method that require a user to be in a certain role, then the application client container (ACC) will require the user to login as soon as the…
Martin Andersson
  • 18,072
  • 9
  • 87
  • 115
-3
votes
1 answer

What is the purpose of an Application Server Application-Client?

As the title mentions, what is the purpose of an Application Server Application-Client? Scouring the web, there really isn't much explanation of what an Application Client for an Application Server is and what its' purpose is for. From what…
1
2