rakesh mittal

+ Follow
since Oct 10, 2005
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by rakesh mittal


i have two offers from midsize companies
firstly for j2ee offering 1.2lac
second for j2me offering 2.1 lac
i am fresher and have done scjp ,preparing for scwcd.
what should i choose , whether work in j2ee or j2me
please tell which technology among them has better scope
11 years ago

Originally posted by Sankar Subbiramaniam:
Keyword: manifest file

In EJB2.0 and ejb-jar is not required to have a manifest file. So normally you msut have the following entries in your ejb jar file:
1) Home interface
2) Component interface
3) Your bean class
4) ejb-jar.xml in META-INF directory.

But if you wish you can package your jar file as follows:

1) ejb-jar.xml in META-INF directory.
2) manifest file referring to Home/Component and Bean classes

In the second approach you are indirectly referring to your Home/Component/Bean classes.

i want to asked why directory structure of ejb contains both home
and component interface , why they have make the structure so
your link is not working man
12 years ago
hi jon

i want to asked a question to you , how much experienc it is needed.
how much experience do you have in servlets and jsp. before exam .
hi jayasiji


tell something about exam
u asked so many questions in this forum
u are giving very little response.
hey tell about ur experience about scwcd exam , how was the exam ,
what type of the questions are asked .
we ranchers want a long mail from urside.
anyway congrats once again.
now which is your next target

what is serialized bean as given in option 2
hi priya and rizwaan
can u justify your answer
3. JWEbplus from Enthuware(this helped a lot)

hi nishant
free version or paid version
hi nishant
did u get the same patterns of question in exam
as given by bengt earlir post.
or diffrent

please tell

bengt post

- 2 questions on dynamic-attributes. (this tutorial is more than enough: link to tutorial)
- 5 or 6 on J2EE patterns
- 1 on http form POST / GET methods mapped to doPost / doGet servlet methods
- 3 questions with doService() overwritten
- 1 or 2 with init() overwritten, including one that throws an especial type of Exception (UnavailableException) that the container can try again to init later.
- 2 or 3 on jsp documents (xml)
- 3 or 4 on <jsp:useBean ...> tag - the main concept they tested wore scope (default page) and the fact that the body does NOT run if a bean with the same name already exists in the declared scope
- 2 on <jsp:import ...> - the concepts they tested wore scope and the fact that this is a run-time import
- 5 or more on other <jsp: ...> tags
- 3 on <c:set ...> two with var and one with target, all of them strait-forward if you have HF.
- 2 on where dtds should go (deployment)
- 3 on what is required when deploying using WAR files (on of them a little confusing, make sure you got it right).
- 3 on <login ...> deployment descriptor and related tags. Main concept tested: that you are doing the authentication part of J2EE security, and types of authentication, it's security strength etc.
- 5 or so on other security J2EE aspects and DD tags.
- 4 or 5 testing if you know what object (request, ServletContext or response) can give you request dispatchers, among other related objects).
- 4 or so on servlet and context init parameters, pretty strait-forward.
- 3 or so on filters, strait-forward.
- 1 or 2 on what happens with sessions after a explicit call on invalidate(), make sure you got it right.
- 5 or so on simple tags, all of them easy, 2 of them big ones (somewhat confusing, still easy, I got 100% on tags). Concepts tested: if you know that the main method is doTag() (instead of doStartTag), if you know how to map attributes from TLD to methods (javabean convention), if you know how to access parent tags and 1 question tested if you know how parent tags can access child tags (remember, there is NO getChildXXX() methods, the child tag must register itself with the parent tag invoking getParent() - the HF book covers this gracefully, as always. Other question tested if you know how to iterate and count how deep the tag is.
- 3 or 4 on listeners, very, very strait-forward.
- 2 or 3 on <%@ taglib...> directive (there's not much to ask about it anyway).
- 1 on exclusive tagfiles directives (make sure you know them, at least their names).
- 8 or so on EL, strait-forward.
- 1 on <el-ignored> DD tag (remember it's not <is-el-ignored>!!, don't confuse with the page directive isELIgnored attribute).
- 3 on el functions, one testing if you know that the method has to be public static, other testing if you know how the signature on the dtd should be, and other on how to call the function using EL
- 2 or 3 on how to encode URLs, and when to use encoding (button line is: always encode all URLs so in case there�s no cookies enabled, jsessionid request attribute gets on all URLs).
- 1 question on <c:url... > tag, pretty easy
- 1 or two questions on how to add a request/session etc parameter using request, request.getSession() etc
- 2 questions testing if you know that request.getParameterValues() returns Enumeration, not a List or an array.
- 2 questions testing if you know paramValues and headerValues EL implicit vars and how to access them (it�s not paramValues.1, it�s paramValues[1], and the first one is zero indexed).

- 3 or 4 easy drag and drop questions, one on listeners, other on <@ taglig ...> directive and other ones on DD tags.
[ October 24, 2005: Message edited by: rakesh mittal ]
hi nishant


please tell about design patterns questions style in exam
and any suggestion
is 10% discount on voucher applicable in india
can anybody confirm it.
is 10% off discount voucher available in india
i asked from one agent in hyderabad
he said these discount voucher are available in us only
anyone from india please confirm it