JSP Interview Questions, Servlet Interview Questions,JDBC Interview Questions,Core java Interview Questions, Struts Interview Questions, Spring Interview Questions.
Sycorax - complete tutorials
Programming Tutorials
" Java provides the industry - software companies and customer alike , an opportunity to create a true open computing environment where software is portable,
and customers benefit from increase competition. "
Java and the Future
December 1, 2008-LEJB 3.1: EJB New and Improved!
The EJB 3.0 specification was a huge improvement from what you were used to in the early versions of EJB. Available as an early draft, EJB 3.1 has many more features and is even easier to use.
December 1, 2008-Should Java Assert that Network I/O Can't Occur on the UI Thread?
Doing network I/O on the user interface (UI) thread is bad. Most developers know that and can tell you why; unfortunately, it's still done.
Register now to recieve special alert and latest technology news!
What is the difference between jsp and servlet life cycles?
Servlet's life cycle start with the following steps.
servet's object is created
servlets init() method is there where the servlet is initialized it needs arguments Servlet Config's object
Servlets service() method where all work is done then
servlet's destroy() method that's the end of servlet.
where as in jsp's life cycle first .jsp is converted to .class that is servlet and then follow the same step's of servlet...that means after jsp in translated to servlet it behave in the same way as servlet.
Identify the advantages of JSP over Servlet.
a) Embedding of Java code in HTML pages
b) Platform independence
c) Creation of database-driven Web applications
d) Server-side programming capabilities
What is the difference between JSP and Servlets ?
JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported protocol in JSP is HTTP. But a servlet can support any protocol like HTTP, FTP, SMTP etc.

