• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

surprised about javamail

 
sindura kapur
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this question:
21. You are the contract software developer for an on-line store that sells antiques and furniture. Your client wants to sell their goods on a third-party auction site, eBuyIt! The IT department at eBuyIt! requires you to develop an interface to your store front software using web services. Which technology can be used to create this integration interface?

JNDI
JDBC
JAX-RPC
JavaMail
i thought JNDI was correct answer but i am surprised javamail is the right answEr.how is it that we can use javamail to develop an interface using web services.i suppose javamail was for e-mails etc.can you explain it?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only obvious choice is JAX-RPC, which used to be the eminent Java API for implementing web services.
 
sindura kapur
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but sun microsystems says javamail is correct answer. how ? and where exzctly javamail is used
 
Scott Selikoff
author
Saloon Keeper
Posts: 4020
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you quote your source? I'm not sure how/why you would use Javamail... seems like a typo in whatever you're reading to me.

Although if you're quoting it from Sun... sure, of course they might recommend such a solution... no one would do it that way, but being the authors of javamail, they might be a little subjective.
[ July 27, 2008: Message edited by: Scott Selikoff ]
 
sindura kapur
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my source is the SCJA free profiency exam offered by Sun site java.sun.com
and please explain me the use of JAX-RPC also.i cant foolow the defin itions on google.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You better forget about JAX-RPC - it's obsolete. These days, you'd use JAX-WS (or something RESTful) instead.
[ July 27, 2008: Message edited by: Ulf Dittmer ]
 
Scott Selikoff
author
Saloon Keeper
Posts: 4020
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think what we're all surprised about is that Sun recommends Javamail as a general-purpose messaging tool for an enterprise application. In practice, you'd use a web service technology (such as jax-ws) or a JMS messaging service. What sun seems to be implying is that you can use Javamail instead of JMS, which to me is a little odd.
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sindura kapur:
my source is the SCJA free profiency exam offered by Sun site java.sun.com
I don't find any reference to "SCJA" on that page (http://java.sun.com). Could you provide a more accurate link?
 
Stephen Davies
Ranch Hand
Posts: 352
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you manage to get the answers for the proficiency exam???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic