Mac Luq

Greenhorn
+ Follow
since Oct 02, 2009
Mac likes ...
Scala IntelliJ IDE Java
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
17
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mac Luq

I just wanted to share my happiness with all of you guys, and recommend Mikalai Zaikin's study guide and mock test, and MyExamCloud's mock tests. Preparation was perfectly fit for the exam following those resources.

Just one thought: I did SCJP6 and OCPJP7 in the past, and this one felt more difficult. Even being an update exam, I think Oracle may be increasing the difficulty of their exams?

Anyway, happy. Cheers!
8 years ago

prashant chindhade wrote:The constructor is called by the container simply to create a POJO (plain old java object).

init method is the method which is invoked when servlet in called and it adds values to the servlet context so its a very much difference between constructor and init method...

regs

Prashant



It's not when the servlet is called but initialized. And it happens only once, as I told you in a different thread.
12 years ago

prashant chindhade wrote:its a first method of servlet's life cycle so it must be executed every time servlet is invoked..

regs
Prashant



No, that's wrong, see my previous answer.
12 years ago

munjal upadhyay wrote:

Matthew Brown wrote:Just once, when the servlet is initialised.



but servlet is initilized each and every time , the requests comes.

so its indirectly mean that init() must be called for each and every request that calls the Servlet.



Hi Munjal.

Here is where you're wrong. The servlet is initialized just once, but for every new request a new thread is created or allocated from a pool to invoke that servlet instance on the appropriate method.

The HttpRequest and HttpResponse objects will be new for each new request, and the thread, but not the servlet instance.
12 years ago
Thanks for all the contents and help that I got in this forum. I could not have done it without you guys.

I'd like to thank specially Pedro Kowalski, cause he made me realize how pointless it was my initial idea of going for the SCWCD5 and then trying to upgrade. Furthermore, his tips and exams on Java BlackBelt were really useful too.

Now Spring Core training and exam...
12 years ago
I hope you can, cause that's what I'm doing too.
Old thread: https://coderanch.com/t/471149/Groovy/Grails-Groovy-Certification
Official training: http://www.springsource.com/training/course?courseID=18353
And by the name of this website, it looks that it can be useful for you... but it does not load to me: http://www.grailscertification.com/
I saw it on this twitter account: https://twitter.com/#!/grailscert
I did not look for Flex, sorry

Paul Anilprem wrote:Enthuware has released JWeb+ V6, a simulator for the new JSP/Servlet certification. Please see the details here!

HTH.
Paul.



I'll use it pretty soon. Cheers!

Vipul Gulhane wrote:What are servlet object?
is there any implicit objects like in jsp...



https://coderanch.com/t/364758/Servlets/java/Implicit-objects-servlet
12 years ago
1) No. The client only sees the generated html by the server.
2) If by jspcontainer you mean the container, then right
12 years ago
JSP

mallikarjun don wrote:May be this will help You

request.setAttribute(string,Object);



12 years ago
JSP
Hi Angeline.

You should give a read to this:

https://coderanch.com/t/528601/java-Web-Component-SCWCD/certification/Information-OCPJWCD-SCWCD-CX

About SCWCD 5 there is a lot of information already available.

And then you'll have to make a decision about which one attend!

Cheers,
ML.
Hi Zyad.

As you've been told, you probably have to build it again with a different Java version.

For example, if you run "java -version" on your console, what can you see?

Cheers,
ML.
12 years ago
JSP