Arpit Kumar Jain

Ranch Hand
+ Follow
since Jun 05, 2010
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 Arpit Kumar Jain

Suggest you to Read the problem statement again and again.
You will get the answer.

Thanks
Arpit Jain
Hi Feel, Referencing another sequence diagram is a better idea.

Thanks
Arpit Jain

Is it ok to call out specific hardware and application server you are using. Eg: I want to use F5 Big IP for load balancing and Websphere application server as my web/app server. Further, I am using IBM QREP for replication of data between data centers which have IBM DB2 databases.



My personal opinion - You can use hardware profilesA,B,C etc... nd in those profiles, specific vendors can be specified i.e. IBM, Sun, Oracle etc. I dont see any reason that Sun or infact Oracle guys will be offended, but if there are any configs available why not use them. My personal opinion though.

Can I separate out the common steps of search and getDetails in a separate sequence diagram and then put a note before all other sequence diagrams. Will I loose marks for breaking down the sequence diagram this way?



Yes..Definitely. Its an awesome idea.
Common sequence diagrams can be factored out. In fact UML 2.0 introduces one construct/element "REF", which can be used to refer another sequence diagram.
There is one very good tutorial available at IBM site - UML basics: The sequence diagram

Beyond the basics

I've covered the basics of the sequence diagram, which should allow you to model most of the interactions that will take place in a common system. The following section will cover more advanced notation elements that can be used in a sequence diagram.

Referencing another sequence diagram

When doing sequence diagrams, developers love to reuse existing sequence diagrams in their diagram's sequences. [Note: It is possible to reuse a sequence diagram of any type (e.g., programming or business). I just find that developers like to functionally break down their diagrams more.] Starting in UML 2, the "Interaction Occurrence" element was introduced. The addition of interaction occurrences is arguably the most important innovation in UML 2 interactions modeling. Interaction occurrences add the ability to compose primitive sequence diagrams into complex sequence diagrams. With these you can combine (reuse) the simpler sequences to produce more complex sequences. This means that you can abstract out a complete, and possibly complex, sequence as a single conceptual unit.

An interaction occurrence element is drawn using a frame. The text "ref" is placed inside the frame's namebox, and the name of the sequence diagram being referenced is placed inside the frame's content area along with any parameters to the sequence diagram. The notation of the referenced sequence diagram's name follows the pattern of:

--Should I try to explain some design decisions using Assumptions? Or should I only put it as notes in my diagram?



Both ways are fine.

--I need to show a call using AJAX from one my JSP pages, but how do I indicate that in the class diagram. Should I mention it in Assumptions instead?


Why do you need to show "AJAX" related stuff in the design. I feel assumptions section or notes should do.

--Currently, for authentication, I am making a authenticate call from my Intercepting filter to a AuthHelper class which then calls LDAP to authenticate. Do you think it is a --good idea to call LDAP directly from a Filter, or is it a better pattern to delegate this to a business service.


Its better to write code for delegating in Integration tier or Busniness Service, as "LDAP" is an external system.

--What is the best place to show components like Load Balancers. Do we have to show it in both deployment and component diagrams?



Deployment diagram
You can use any one of them. However using JSF will give a developer many advantages compared to any other framework like AJAX.

For assignment, candidate does not need to go for "good" features for any framework such as AJAX or GUI components available from JSF.

As JSF is a component centric standardized GUI framework, provided by Oracle/Sun, it can give you lot of more important features than just fancy features.

My opinion though, JSF doesn't have to compared with AJAX for exam purposes, as they solve totally different problems, there may be some common features present in JSF/AJAX.

JSF 2.0 can be very well used in exam. No worries!!!

Thanks
Arpit Jain
Hi ,
Getter(s)/Setter(s) are not required to be mentioned.
However, to make the design more self explanatory, one note may enough to explain like "Getter(s)/Setter(s) are not explained in the designed and are implicit part of Entities."

Thanks
Arpit Jain
Please be specific about your questions.
Your requirement is quite generic and google should be able to help.

Cheers
11 years ago
Just Wondering

Is Kathy sierra sufficient to clear SCJP? OR

Is Kathy sierra book sufficient to clear SCJP?

List<String> test = new ArrayList<String>();



As per the OOPS methodology, code should be designed with contract/interface and not implementation. Using this approach, implementation can be changed and user of this API do not have to change their code. It makes program more maintainable.

While executing List<String> test = new ArrayList<String>(); it raise error that list cannot resolve to a type.



Are you using any jdk version below 1.5 to compile this code, as Java SE will support Generics jdk 1.5 onwards.?

Thanks

11 years ago
Congratulations
Got results in 7 days ?
Great
Congratulations Praison