Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

working on par2 assignment which is procurement and inventory updation.

 
Raja Nemani
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Friends,

I am working on 'par2 assignment which is procurement and inventory updation.'
my main application is procuring different items from suppliers and finally update the PO to the inventory.

My question is do i have to assume that, the item details and supplier details are separately managed in my system OR do i have to pull them from
already existing Inventory system?

This system has few work flow procedures but NOT very transactional RICH.but it has a requirement of higher availability and response time.
do i have to go for 'WEB CENTRIC'? OR 'EJB Centric'?

Many thanks in Advance.

-rnemani.
 
Teja Saab
Rancher
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is do i have to assume that, the item details and supplier details are separately managed in my system OR do i have to pull them from
already existing Inventory system?


You could make either assumption. However you might want to create a class (Data Access Object) that abstracts the location where all the manufacturer's details are stored. In other words, the DAO will hide the location of your manufacturer information from the rest of your application thereby promoting loose coupling. However, since the inventory system is already existing, be cautious of adding new functionality since it might not be supportive of that. Even though we can make any assumption in part 2, those assumptions need to be reasonable.

This system has few work flow procedures but NOT very transactional RICH.but it has a requirement of higher availability and response time.
do i have to go for 'WEB CENTRIC'? OR 'EJB Centric'?


If your application involves making payment with credit cards etc, that would be an example of a transactional requirement. Some of the availability, response time requirements will have to manifest themselves in your deployment architecture where you will probably have to have redundant load balancers, application servers, databases etc.

Please also look at this thread.

http://www.coderanch.com/t/493102/java-Architect-SCEA/certification/Inventory-synchronization-JMS-interfaces
 
Raja Nemani
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Teja.

>Actually, i have to use webservices to update the inventory services.
In that case, i cannot use DAO and connect to Inventory system to get supplier details and part details.
That is why i am thinking of maintaining separate database and connect it through DAO.
But that is duplicating the data.If i don't do that, availability and responsiveness will have clear dependeny on the 'Inventory' system.

So i am caught between these two.

>>My requirement doen't have any payment.
But it has got 'Work flow' in it.I am planning to use 'Stateful EJBs'.As it is inventory based work flow, i am not sure if i have to do it
in a transaction.
As per my past experience, we have used transaction management in inventory projects.

Many thanks for your openion and more welcome for your comments.

Kind Regards,
-Rnemani
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic