Any help on below is greatly appreciated. Thanks all for all the previous help.
I have JSF page(.xhtml). In sequence diagram I am showing a messaage from JSF page to EJB like below:
JSF Page -----1------> FacesServlet ---2-------> ManagedBean ---3-----> EJB.(Similar pattern mentioned in Amritendu's book). Note: 1, 2, 3 are numbers used here only for explaining.
I the assignment it is mentioned that all the public methods referred in other diagram(sequence diagram) must be mentioned in class diagram.
I have public method for managed bean and EJBs. So I can mention method call for 2 and 3(mentioned above) in sequence diagram. There is no custom public method in Controller/Faces servlet.
So what shall I mention in 1(JSF page ------> FacesServlet). In bothe Humphrey Sheil book and Amritendu's book, they have mentioned some public method in sequence diagram between UI page and Controller. But those methods are not present in class diagram's controller/FacesServlet.
What can be done? Suggestion please.
There's a difference between messaging and invoking methods, even though invoking a method can be part of a messaging process.
As far as an actual method in FacesServlet(), it's probably service(), which is NOT invoked from the client, but rather from the JEE container. Which, in turn is NOT invoked as a method invocation from the client, since the client does its messaging via an HTTP request over the network. A client cannot invoke server methods directly, since the client and server are separate machines, operating in separate memory and program execution spaces.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
Pay attention! Tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop