aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Aplication Client Container question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Aplication Client Container question" Watch "Aplication Client Container question" New topic

Aplication Client Container question

Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916


I try to run a simple client inside of a ACC.
My question is do I need an application server running to run the client inside of the ACC ? or not.


Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

It seams that I need a application server running to run a client inside of an ACC. But this leas me to the next question, why I need this ?

In the "EJB in action" I found something like :
"The ACC is a mini Java EE container that can be runn from the command line."

Do I miss something here ?

Regards M
Sergio Tridente
Ranch Hand

Joined: Mar 22, 2007
Posts: 329

Hi Mihai,

Well, I guess the part you are missing is that you need to access your beans. For that to happen you need them deployed into an Application Server.

So, I would say, the ACC is not sufficient for your code to run. In fact, it is only used for running the client, not the EJBs.

SCJP 1.4 (88%) - SCJP 5.0 Upgrade (93%) - SCWCD 1.4 (97%) - SCBCD 5.0 (98%)
Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 916

Hi Sergio

Yes, you are right.
As the name say the ACC is a client - it needs the server and the server need the classes to be deployed (on server).

I agree. Here's the link:
subject: Aplication Client Container question
Similar Threads
Error while trying to run StatelessSessionBean
@Ejb annotation does not work
Swing clent calls EJB component
Expert guidance needed in understanding the part of a shell script
Help with arrays/class