This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GCF interfaces  RSS feed

 
Sunil Chandran
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In servlets , the HTTPServletRequest and HTTPServletResponse interface methods are handled by the container and not by the programmer.
Similarly in J2ME networking ,who provides the GCF interfaces methods.

if we execute HTTPConnection application we use server(Tomcat).who provides implementation for interface methods here. is it the server itself?

if so who provides the implementation for interface methods for sockets, because we dont use any server there.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Connection Framework, the interface is defined, but it is the responsibility of the device manufacturer to actually implement it for you to use it. If they don't implement them, it is one of those things that will make it so that they can't calim that their device is a J2ME Java enabled device.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!