• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to study

 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been trying to study for the exam for some days now. In the SCJP you could always paste something in the compiler and run it in a flash. but with this exam what approach do you take for hands on studying? I find it a chore to first start tomcat, then write a whole JSP, usually followed by a servlet, then an html page to call it, then run it etc. sometimes it seems not worth it.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Passing the exam would make it worth it, wouldn't it?

You can of course keep Tomcat running at all times, thus eliminating its startup time. If a class changes, you don't need to restart Tomcat - reloading the web app is sufficient. That takes hardly any time at all.

After you've created a few JSPs/HTML pages/servlets, creating the next few ones should become much faster, thanks to copy and paste.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to realize that you're getting into the J2EE world, and a web application is not a simple 10 lines "Hello World" text file.
You've probably spent more energy learning SCJP, so don't grumble, and take up your sleeves Good luck.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your inputs. I was thinking maybe there was some shortcut way or some other technique like a special IDE(Netbeans-LITE...God do we need one!! ) to go about making the process a bit easier. But knowing that everyone has to go through the some routine makes me feel alot better about this. . Thanks again.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Starting a project with JaveEE will have some initial headache, but once you get past that it is a breeze.

After a little while, much of your practice should become just as fast, if not faster, than SCJP practice.

Soon you will learn the ways of tiny code change, Ctrl+S, Alt+Tab, F5.
 
prem arora
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moreover, I think when we work with an IDE, we generally miss learning many small things, as they are automatically handled by the IDE, be it the context help or compile error. But when we write(Ctrl-C,V) and do F5 to see if the jsp page got parsed properly, and see the error, we know what wrond did we do, or what did we miss in the servlet to process.
So, generally, not using an IDE, would be a better preparation for the exam.
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Netbeans is my tool of choice. Past in the code, hit the run button and it starts the internal version of tomcat. You can debug it step by step if you like. Note that you are running genuine 100% authentic Apache Tomcat so you should be close to the standard.

For SCJP I recommend no IDE, for SCWCD I recommend NetBeans, for everything else .....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic