Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!

Steve Agarwal

Ranch Hand
+ Follow
since Feb 02, 2003
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 Steve Agarwal

Hi Friends,
I have started writing blog on the following site.
please go through this and feel free to comment.

14 years ago
Hi everybody
this group has been a great help in preparing the exam on and off. With much more toward the morale building than the study material.
at last I took the SCEA part 1 and passed ( though I have been almost out of touch with the intricacies of j2ee and ejb for almost 3 to 4 months.

I have been reading DP, EJB and many of the SCEA material from the sites and groups. But here is what I found imp
1) if you dont understand Gamma then dont worry and conc on the UML diag rams and the pros and cons of the pattern.
2) EJB -- ramu notes were very help ful in reacpping BMP/CMP EJB
3) Security -- I missed few Q's but it dealt mostly with the port and type of protocol being used. There was one encryption ... Q which was off my head.
4) UML -- Questions were very easy esp on seq diag, association and realization.
5) Some of the sitation and architecture improvemnt Q's is what I missed as they werent easy to grasp.

I took no other SCEA test ( except 1 or 2 mock test ) -- a firm believer in saying money on costly books and paid simulators.

http is like make a conneciton and get the ack and then dont maintaint the socket connection.
Its more like Fed Ex rather than Telephone conversation.
http is like make a conneciton and get the ack and then dont maintaint the socket connection.
Its more like Fed Ex rather than Telephone conversation.
I am also new to this EJB but these things bring in the indept know how the transition from ejb1.0 to ejb 2.0 came in picture.
If studying for exam ( primary based on spec 2.0 ) then these scinearions are not even worth wasting time. But I believe the practical coding or migration to new version of ejb would have more realistic answers to teir problems.
think this was
from a entity bean home u pass primary key and there already exist a bean on the server. So container generates a handle and object by associating it with the same bean created in the JVM. And you get that handle to the bean which is accessed by so many client at a time.
I just bought the book. And its fun reading it. Many of the things which looks mundane and boring in specs have been made interesting to learn. I have read Monson Haefel. That book is great in the sense of keeping a reference and for a technical person( serious person ). But K & B has done a great job bringing the best of Ed Roman and Specs to prepare for exam ---- with ease.
I personally felt for the first time, after looking at the book, that the book should be named "EJB for Dummies"
I have a doubt...
Entity beans are persistence objects. And they are there in container once created. And to my understanding they ( entity beans if exists ) need to be shared to the client who is trying to create similar bean with same primary key. So why a entity bean need to go for passivation.
to this lets(passivation proved) say there is no association of client to a entity bean so will that bean get destroyed. As far as I know calling remove on a bean removes data from database. But I dont want to remove data but want to associate a bean to a row in a table( entity bean ) and then drop it( bean -- JVM representation of data in container ) later.
hello friends
I have a couple of questions bothering me, while preparing for SCBCD. Can someone please help me with these ?
1. If there are no method permissions specified for a method, does it mean that anyone can access the method ? Or does it mean that no one can access it ?
2. Can a remote client send JMS messages to a destination on a remote computer ? If yes, then while getting a reference to the Topic or Queue through a JNDI lookup, do we need to perform PortableRemoteObject.narrow() on it ?
3. When a client calls create() on an entity bean, which action takes place first ? Binding the bean with an EJBObject or ejbCreate() invocation ?
Thanks in advance
My input
1) if no method permission specified then no one can access.
2) Sending message to remote Server using JMS has nothing to do narrow and all. narrow is a RMI concept and it has to do with object location. Where as in JMS we are sending evry thing as Message. So I donw see this portablility issues comming up.
3) I would say seq is like this -- new instance creation, setEntityContext, ejbCreate. So by the end of ejbCreate the bean comes into picture with primary key and RemoteObject reference. all these stages mentioned are responsibility of Container. So ejbCreate is the first to be called.
Please correct me if I am wrong.
Which object CANNOT be retrieved from a JNDI namespace by an Application Client?
A. EJBHome (stub)
B. EJBLocalHome
C. QueueConnectionFactory
D. TopicConnectionFactory
My answer
C D are definetly retrieved by JNDI
B is also retrieved by JNDI but its more like Naming directory lookup rather than JNDI
EJB HOME is also retrieved by JNDI
i would say none of the above
please correct
passivation / activation ???
my understanding without worrying about the provider.
1) these logic is used to keep the client processing alive over a period of time.
2) the data is serialized into the database or some storage which is again read using obejectread and objectwrite.
3) serialization helps bean to get free the resources for other users
4) container reads back the data after the session of client becomes active.
PS I havent taken transaction details as they are add on top of above explanation.
Q Some one asked me
1) What happens when some one changes name of stateless to statefull in DD.What would be the result.
I am finding it difficult to grasp GOF.. please suggest an quivalent java based Design pattersn book
I could have tried but I havent reached transaction portion yet.
i also agree to the point that the mock test are getting too expensive.
All I want to do is take couple of mock test to have idea rather than be an expert to crack 800 in GRE/GMAT
hi hover cheng
I was wondering what all mock test you have tried for the exam.
i am planning to conc on O Reilly book and Spec for the exam.
Thus I needed help with mock test to have idea about the exam.
Thanks in advance