aditee sharma

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

Recent posts by aditee sharma

Fine. Just close the account in that case. Thank you.
9 years ago
As per this link, there is a provision that at least the posts under the topics started by me can be deleted.
I will appreciate if you can delete those as well along with this account.
9 years ago
I am using the evaluation copy of Borland Together for creating UML diagrams.
Unlike in the Study Guide's diagrams, there is no provision to specify a format like "XYZManager(@Stateless)" in Together.
Is it alright if I specify @Stateless and @Entity as stereotypes ? i.e <<@Stateless>> above the name of the XYZManager ?
Has anybody done that and have their assignments been accepted ?

The same way, a name like "customer.jsp" is not something Together would allow.
Is it okay to put a <<JSP>> stereotype for it?

Sandeep Krish wrote:
Hello Ranchers,
Major problems I faced were
1. Forgetting that is an assignment not a real world solution . One of the Java ranch post brought me back to track so you can make any assumption you want.
2. Unnecessarily time wasted on thinking about 'how to make JMS work synchronous' or 'how to manage authentication' etc
I happily put a note asking the programmer to take care of my first 'problem' and made an assumption that that authentication is out of scope.
3. I was never confident on my solution as class diagram kept changing every day as I revise. Later I realized that that is the way it works. I had to modify the class diagram through out the process. I realized that design can be beautified forever.

Thanks you all again. Have a good time.

Congratulations Sandeep!. Great advice about "clearing the exam", thanks.
One reason people ponder over details is that just clearing the exam is not the only goal.
Given the skeletal requirements of the assignment, it would make me feel real powerful if I can provide a complete foundation of the solution with all the major UML diagrams, cluster configuration, processor speeds etc..
But yeah, the focus shouldn't be lost while we do that.
What was your assignment, btw ?

deepak adlakha wrote:In my personal opinion, It all depends on the architecture/context of the application.

Like if you application is not using EJB's at all, then just to read the data from database, i wont recommend using SLSB for this job. But if application already has EJB's and some different interactions are also required with some other systems, then we can use SLSB.

Even if I am using EJBs in other areas like persisting the data, how does it matter during a read operation that whether or not I use SLSB as far as my read operation is isolated from any external interface ?
Is there a reason I can't use Presentation + Servlet + DAO instead of Presentation + Servlet + SLSB + DAO ?
In fact, adding another layer can possibly slow down the application, no ?
A read only object like a Catalog, may not require a Session Bean. Why can't I just call a DAO from the Servlet ?
Are there any advantages that using a SLSB would give over a Servlet for read only data ?
Both annotations and Dependency Injection are a major part of Java EE since Java 5.0 .
In fact, with Java 6, Dependency Injection implementation has moved much beyond merely injecting JNDI resources.
I wonder why these 2 important topics do not merit being part of the exam.

srees Nivas wrote:Hi All,

Thank you very much for your wishes.

Here are the artifacts I used.

1. Introduction

Mentioned overview of the system and purpose of the document in couple of paragraphs.

2. Goals and Design Decisions

Identified functional and non funcional goals from the assignment and mentioned how they can be achieved with the design choices I made.

3. Overview of Application Tiers

Explained about the application tiers and mentioned the components fall in each tier.

4. Assumptions

In my assignment I felt one piece of requirement is missing, so I took my own decision and added to my assumptions list.

5. Class Diagram

Ofcourse I read my assignment multiple times to understand the business domain and scope and then started with with class diagram based on the BDM

given, after modifying few times I got a conclusion on Class diagram.

My class diagram is just an extension to the business domain model which consists of all Business domain classes and
major technical classes like managers.

Used stereotypes for most of the classes, public methods (which are used in sequence diagrams), and attributes which are really needed.

Under the class diagram, described each class's role in a table structure.

6. Component Diagram
First I listed all the components used in the system and categorized into the identified tiers.
Placed all design pattern related components here.

Under the diagram, described each component's role in a table structure.

7. Deployment Diagram
Mentioned web and app containers, systems, firewalls, connections between systems with protocols etc.
I made sure that no single point of failures in the system.

8. Sequence Diagrams
For each usecase, there is one sequence diagram. Plus Login and logout.
For couple of usecases, I had to split the sequnce diagrams.
Connected related sequence diagrams using references.
Put notes where ever is needed.

9. Risks and Mitigation List
Identified main possible risks and mitigation strategy. I don't know what else I can say here.

10. Design Patterns Used

Listed all Framework, design patterns used and described each pattern usage in the application in a bulleted fashion.
Placed an high level diagram with all design patterns classes.

I stuggled to fit diagrams in window size, but I could not for few diagrams, especially, sequence diagrams and component diagram.
Each artifact is embedded in an html file. This approach allowed me for the tables and write up.
Used Jude trail version to draw diagrams. I found Jude is a very easy and neat tool for UML diagrams.
I had to wait for couple of days for assignment upload permissions.

Part 3:

I spent only few hours for part 3.
I listed out all the questions on non functional requirements and prepared answers for each.
Examples: How did you achieve some X non functional requirement?
What pattern/framework you used for x non functional requirement? and why?

I found most of the questions are of type why? justify it, etc.

If you have any generic questions I'll try to answer.

Moderator, I think I did not cross my limits / voilated restrictions on posting the content. If you feel so, please edit/remove the content.

Best regards,

Thanks a great deal Srees! I really appreciate the efforts that you made for supplying the details.
Hi srees,
can you please let know what all artifacts did you upload for Part 2 ?
Can you please let know what all artifacts did you upload for part 2? And how did you prepare for Part 3 ?

deepak adlakha wrote: congrats.

You mentioned there were not many questions from patterns. Then from which part you got most questions like on tier or security, web ? Thanks in advance.

Thanks. I found a lot of scenario based questions on applicability of technologies;like which technology stack would you use for such and such requirement (I scored well :-)).
There were a few on JCA, JMS, Web services and a lot of questions on security ( ) also.
This post is for the benefit of the average Sr. Programmer/Tech Lead like myself towards SCEA Part 1 preparation.
If you think that you are particularly bright, then you may not want to read any further.
If you think that you are below average (probably because of less experience/less exposure to different technologies ) , then you may also excuse yourself for the time being.
Lessons learned:
1) You should have an all-round intermediate knowledge of all major java technologies like some major Web Application framework, Web Services, ORM, JMS, CORBA/IDL and Java Web Start etc. However, you must have mastery over some of these. In short you should be a Jack of all and Master of some.
2) Do not try to cover each and every topic in the syllabus thoroughly. Spend more time consolidating your strengths and relatively less in the subjects that you are weak in. I believe that's what I should've done in order to obtain a better score. I tried to cover too many topics and ended up scoring low.
3) Do not take too much time for preparation. The syllabus is so vast that unless you are able to devote full time (i.e you don't work any where), you can not cover it completely. Otherwise, you may get into a endless loop forgetting some of what you learned earlier.
Phew! this was way too tough than I thought ! I mean, yeah you can never assume that SCEA would be easy, but after going through several mock exams and Sun's own e-Practice exams, I became (over ?) confident. I am okay for just being able to pass, but this tells me that there are several loopholes in my knowledge.
Kinda feeling that I insulted Kathy and Bert & others (Head First Design Patterns) and Mark Cade (SCEA study guide) with such a low score.

The questions were of really high quality and very precise, I must say.
Most of them were scenario based.
If one can answer most/all of them with real grasp of concepts behind them, then she/he IS an architect, no doubt.
May be I should have read GoF patterns also (scored very low in patterns)..but then there weren't too many questions on patterns.
Well, better passing with low score than not passing at all.

Abhay Agarwal wrote:I am sorry but i am confused among "tld" file,"tag" file and "custom tag".
Please clarify the difference between all these 3 types/files and when to use which file.

~ Abhay

To understand these terms, you need to learn the concept behind tags and their libraries. What are they, and why are they used ?
Tags are defined in TDL files.
To give you a start, tags and their libraries reduce the clutter in JSP pages by putting more readable xml tags rather than scriptlets .
For example, I find prettier than
Do you?

If you concur with me, then lets start by defining own custom tag libraries
(The tag used in the example is that of JSTL core taglib, something Java Engineers have done for us already).
Follow the next steps :
1. First, we define a xml file known by the extension .tld(tag library descriptor).
In this file, we define the structure of our tag, its attributes etc.
2. We put this tld somewhere under WEB-INF and then write Java code to support this tld file.
We compile that code and put it in a place where the Server can find it at runtime (usually WEB-INF/lib)
Therefore, we have moved our Java code from ugly scriptlets in JSP to somewhere in Servlet (remember that all JSPs are compiled into Servlet).
3. Next, we just refer to this .tld from our JSPs specifying its location and giving it a prefix.
That's it! You are free to use your custom tag now. In essence at least. To learn more you will have to explore on your own.

One more thing: Apart from JSTL taglibs and custom taglibs, there are also 3rd party taglibs like the Display Tag that you might find useful.

Christophe Verré wrote:Check this. There's no error because AOP will not take effect. It's not a bug.

I have already said that that AOP will not take effect is understood.
Thanks for your post, it is now clear that this is by design.
However, I don't understand why Spring chose to not throw an error/exception message when
somebody tries to make the BeanFactory work with AOP.
11 years ago