It's not a secret anymore!
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes accessing external inventory system by remote ejb call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "accessing external inventory system by remote ejb call" Watch "accessing external inventory system by remote ejb call" New topic

accessing external inventory system by remote ejb call

viv anand

Joined: Jun 21, 2009
Posts: 29
I am doing scea part-2. In my assignment there is an external Inventory System which is java based and owned by the client company itself for which I am supposed to develop the SuD. I am assuming that the InventorySystem have exposed remote EJB services to cater the need of the inventory checking required by SuD.From my SuD, I am making remote EJB call ( and not the Web Service call) to get the inventory level. I am also assuming that both the SuD and the Inventory system will be within the same firewall and no specific security measure is needed.
My confusions are following:
1) Is my assumption about the external inventory lookup through remote EJB call ( and NOT through the Web Service call) correct/possible?
2) Is my assumption about the requirement of no special security measurement correct?

Please provide your opinion/suggestions regarding this.
Thomas Kruse

Joined: Dec 26, 2005
Posts: 14

I would not recommend to change the requirements and that bold way.
Krzysztof Grajek
Ranch Hand

Joined: Mar 07, 2011
Posts: 53
Sounds like a factory homes assignment, if it is, then its already assumed that the inventory system is web service based, i could agree with the second point if you describe it in your assumption list but I wouldn't agree with the first one as its already stated in the assignment description and in my opinion shouldn't be changed.
Unni Pillai
Ranch Hand

Joined: Aug 22, 2010
Posts: 35

I am not getting what is your point.

If your requirement says "Java Based System" then you could have a WS call or EJB call or what ever. If your requirements specify it is a webservice then it is better to keep that way.

Why you want to change WS to a EJB call? I tried to design everything open standard as possible so that we can explain future proofing( eg. mobile application needs to check inventory).

Regarding the security, the assumptions is valid.


san kumar parihar
Ranch Hand

Joined: Dec 05, 2010
Posts: 30
For your first assumption, either of EJB or webservice should be fine.. But for second one, you need to have some security considerations. Transport level security may not be required within LAN but request still needs to be authenticated and authorized.
I agree. Here's the link:
subject: accessing external inventory system by remote ejb call
jQuery in Action, 3rd edition