The Artima Developer Community
Sponsored Link

Java Answers Forum
How Vendors Implement of Java Api and Java interfaces

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
murali

Posts: 1
Nickname: muralivasu
Registered: Feb, 2003

How Vendors Implement of Java Api and Java interfaces Posted: Feb 20, 2003 9:55 AM
Reply to this message Reply
Advertisement
I'm trying to understand How Java interfaces implementation are used vendors,while Working with Servlet,When i write my Servlet i just extend HttpServlet which is subclass of GenericServlet that implement Servlet Interface?

I have this below questions

1)I Don't understand why i have extend to HttpServlet, How My servlet is getting intialized.

2)How webserver is able to create servlet instances.

3)How my servlet is getting loaded into the servlet container memory?,what is mechanism that Vendor use to
call my servlet and what is the HttpServletInterface Role in all this.

4)Though i never do anything with service(),how this method is getting called.How service() is getting executed.

5)how webserver vendor uses interface and Java API to make servlet working.

can anyone pl explain with sample code.

Topic: Simple question Previous Topic   Next Topic Topic: Linked List

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use