Pratik Das

Greenhorn
+ Follow
since Jun 28, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pratik Das

Yes you always pass with a score of zero and grade P. I got the confirmation on the same from Sun.Congrats.
I passed SCEA 5 Part 2 and 3 a month back. I enjoyed the assignment and part 3 exam as it helped me to learn a lot of things but the result itself left me disappointed. In fact after I inquired from Sun , they replied to me that they no longer provide any feedback. Just a pass or fail. All this left me wondering whether it is worth the amount of fees they charge. Thanks a lot to all the contributors in this forum.
Vicente I have assumed the second one: exposing some of the business tier services as web service with suppliers can integrate their proprietary systems.
Congratulations Wang. I would be interested in knowing the design patterns you had used- anything specific to Java EE.
9 years ago
You donot need a business delegate and service locator as long as your calling client is a managed component(servlet/JSF managed bean). You can introduce a business delegate if you want to introduce flexibility of using a single business layer interface for multiple types of clients (both managed and unmanaged-swing based).
You use dependency injection to get rid of service locator. This needs to come out in some form in your architecture.This will also play a role in deciding whether your calling client is a managed component. So is DI a low level detail?
WS-compensation is a subpart of ws-transaction where we need to have compensation mechanisms in the web service. That is true if you are building the web service so that you can develop specific compensating mechanisms. But in this case, the inventory system is outside your control, you can only use it with its existing interface. I have made it an WS asynchronous call.
I feel DestinationMarket and CarModel are relevant since they could be attributes of your search for open requests and bids.
I have replaced the the three parts with a single class parttype but I have not used the enumeration. Using enumeration will entail changing the class model each time we add a new parttype.
You cannot handle the transaction in a web service because it is not in your control.
I think you can still use dependency injection by means of a setter method in your business delegate and receiving the reference from the calling managed component(which has access to the resource by means of DI).
Is there a published list of Java EE patterns just like we have for J2EE. I have come across pattern names for Java EE like model facade, entity view, Exportable Service Broker etc. I have not come across DAO but instead EAO for accessing entities. Are these names official?
In Sun's version of class diagram we show the domain model classes with complete relationships and sessionBeans as given in Mark Cade's book.You do not need to show JPA here since it is meant to be technology neutral. I am not an SCEA so suggest you wait for the views of other experts.
Is it a good design practice to use multiple session facades in a single use case. The scenario could be that the presentation tier requires business functions which reside in different session facades.
Ok so enumeration is a directed association. Thanks.