Madhu Maniganta

Greenhorn
+ Follow
since Nov 27, 2010
Merit badge: grant badges
For More
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 Madhu Maniganta

Sorry for the confusion guys I meant JSP component, missed the word component there. I apologize.

The below question is irrelevant to the above one.
Now I have a question about inter component talk within a layer, say a Business Layer component (say A) uses a class in another Business Layer component (say B) should I show an arrow from A---> B? or is it okay not showing it because both are from the same layer.

Thanks,
Madhu.
Okay thanks a lot Jeanne! if I place this MDB as a part of business layer component, which has <<uses>> from a JSP component... Do you think that's misleading? Because MDB is invoked by container and not JSP. The reason for this question is that MDB does inventory updates logic for which I already have a component..but that component is called by JSPs..thanks a lot again
Thanks Jeanne, can I place an MDB in the Business layer of component diagram? Or should I show a call back from Integration layer? because ServiceActivator/MDB is an integration layer component...isn't it? But if I have a call back to SLSB which calls a DAO again doesn't it look messy?
Hi,
I am following Cade style for my part 2 component diagram. I have a question about MDB in component diagram. I have an ServiceActivator/MDB (which is an Integration Layer component) calling an SLSB which is a Business Layer component, is it okay to have an <<uses>> arrow in the opposite direction than the normal flow, from Integration layer to Business layer? To add further to this the SLSB calls a DAO in the integration layer. So its MDB--->SLSB-->DAO. MDB and DAO in are the same layer.Is this acceptable?
Alternate solutions:
(a)Let MDB do the business logic and not call/have the SLSB, MDB calls the DAO.
(b)Include MDB in the same Business Layer component as SLSB, but can I move the integration layer component to Business layer?

Thanks a lot,
Madhu.
Hearty Congratulations, finally you got it
13 years ago
Jeanne,
I too thought of showing DAOs in my class diagram, but was confused after looking at Cade's Chapter 9 example, coz there DAOs are NOT in class diagram but are present in Component and Sequence Diagrams. What do you think?
Thanks,
Madhu
Jeanne,
For an online shopping application scenario it says "The manufacturers can be contacted using jms", and in check availability use case "check availability of product with manufacturers before adding to cart" and so it needs to be synchronous call as per my understanding...let me know if Iam missing something here...
Thanks,
Madhu
Jeanne,
Thanks for the response, but my assignment clearly mentions for such requirement. I am worried.
Thanks,
Madhu.
I have a question on relationship between a SLSB, DAO and dependent POJO object. For example during checkout process of an online application the user enters credit card and goes through the payment process. Say the classes are PaymentSLSB, PaymentDAO and Payment (POJO), in the UML should we show :
(i) PaymentSLSB--->PaymentDAO and PaymentSLSB--->Payment (POJO)
(ii)PaymentSLSB--->PaymentDAO-->Payment (POJO)

Because PaymentSLSB calls PaymentDAO and both of them Payment POJO, I am confused about dependency.

Also do we show DAO's in the class diagram? for example PaymentDAO above?
Hi All,
I am working on my part 2 assignment of SCEA and have a question about synchronous JMS communication BOTH WAYS between client and external system. During a single user session (say click of a button and before showing response screen) all this happen should happen within 5 secs for the client to see the response. Do you guys think this is possible?
Thanks,
Madhu.
Thanks so much for the response. If I go with (B), can a Business Delegate be used just to separate Presentation layer and Business Layer. Because I read on the sun website (link below) that Business Delegate hides lookup and access details of EJB architecture, does it mean that Business Delegate and Service Locator must go together? or can I just use it as a Presentation and Business layer separator?

http://java.sun.com/blueprints/corej2eepatterns/Patterns/BusinessDelegate.html
Hi All Ranchers,
Thanks all for your support, I am working on part 2 and have a question about Dependency Injection in Business Delegate layer in a n Tier architecture.
(A) Is having jsp--->Managed Bean--->Business Delegate--->Service Locator--->Stateless Session Bean(Dependency Injection)---->Entity JPA acceptable in class and sequence diagrams?
OR
(B) should I show a Business Delegate with Dependency Injection also like Stateless Session Bean injects for EntityManager? which means
jsp--->Managed Bean--->Business Delegate (Dependency Injection)--->Stateless Session Bean(Dependency Injection)---->Entity JPA in my diagrams?

which among (A) and (B) is correct?
Hi All Ranchers,
I recently passed the SCEA part 1 and and working on part 2, I have a question about showing "controller and managed beans" in class and sequence diagrams.

Can I have my class diagram with just the controller (and no managed beans) like jsp--->generic controller(faces servlet in the comments)-->session bean ?
and in my sequence diagram jsp-->managed beans-->session bean, is this acceptable? Should I show managed beans in my class diagram? Is my assumption that Controller of JSF is different from Managed beans. Please clarify.

Thanks,
Madhu.