Amit Goyal

Ranch Hand
+ Follow
since Feb 21, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Amit Goyal

Hey,

I also wana to get Head First EJB 3.0 book.
Is there any hope for this book to be released in near future ?




Regards,

Amit Goyal
17 years ago

Anybody already has an experience with Enthuware products?



I used enthuware's products for SCWCD 1.4, it was pretty good and upto the exam objective.

- Amit Goyal
Congratulations !!!

- Amit Goyal
Congratulations !!!

- Amit Goyal

Wasn't it a little bit scary to see more questions



Yeah, it is a little bit scary.

Even you get some new questions to answers those might come in future tests, so from this point of view it is good.


- Amit Goyal
Thanks Everybody!!!

- Amit Goyal
Hi Ranchers,

Its my great pleasure to inform you that I have cleared the exam with 94%. It was a nice experience for me.

First of all Thanks to everybody in this forum and Many Many thanks to Kaithy Sierra & Bert Bates for such a nice book.

For those who are preparing for exams I can say no need to go any where else, stay focused with HFSJ and read Mark Peabodys's notes of design patterns. Don't forget to do practice examples given in the book (HFSJ).

IMP: There were 80 questions in my exam and I had around 175 minutes. (80-69 = 11 ) questions were just for sun's question review process for the further exam cretions (Im guessing). Anyways I had to give the answers of all the (80) questions as I was not aware which one belongs to real exam or review process.

Once again thanks everybody.


Regards,

Amit Goyal
SCJP5.0 93%
SCWCD1.4 94%
[ October 15, 2007: Message edited by: Amit Goyal ]
Congratulations Man!!!

-Amit Goyal
Its not correct. See once you declare a tld file for a tag, normal .tld file rules apply and it should be declare using <%@ taglib prefix="mine" uri="uri_of_tld".%>. Note the uri will be used rather then tagdir.


- Amit Goyal
How can the option B be true ? Does the genetated servlet (from jsp)extends from GenericServlet ? Or Implements ServletConfig ?
[ October 11, 2007: Message edited by: Amit Goyal ]
You get the old session only when you have configured some sort of persistance storage (e.g. file system, database etc.) for sessions (which is generally configured in the container's conf file) and have made always save session element to true. In case of resin server it is specified in resin.conf.

If you do above configuration then you will get the old session on the container restart/crash.

Well, these configuration are handled in the vendor specific ways.


-Amit Goyal
[ October 01, 2007: Message edited by: Amit Goyal ]


One moredoubt...
are sessions mainained even after container restsrt in some cases???


Yes, sessions are maintained even after container restarts.



and when the client closes the browser the sessiosn is lost right??



No, the session is not lost on the server, it is there and will be lost on session-timeout.


- Amit Goyal
Tag files can't be placed in any sub-directory of WEB-INF. It should be placed in tags sub-directory of WEB-INF. So Tag files must be inside WEB-INF/tags directory if not deployed in a jar file.

If deployed in a jar file, then it should be at WEB-INF/lib/yourjarname.jar/META-INF/tags directory.

While on the other hand, TLD files can be placed in any sub-directory of WEB-INF.


-Amit Goyal
[ September 28, 2007: Message edited by: Amit Goyal ]
Hi Guys,

As far as these two listeners (HttpSessionActivationListener and HttpSessionBindingListener) are concerned, container can identify at runtime by using "instanceof" operator on attribute class which is going to associate with to session. So no need to specify in the web.xml.

But in case of other listeners, container has no information whether it exist or not in your web application so as you have to specify it in the web.xml.

Hope it will help!!!

Regards,

Amit Goyal
Congratulations!!! Good Score!!!

- Amit Goyal