aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes  surprised about javamail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark " surprised about javamail" Watch " surprised about javamail" New topic
Author

surprised about javamail

sindura kapur
Greenhorn

Joined: Jul 14, 2008
Posts: 22
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
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
The only obvious choice is JAX-RPC, which used to be the eminent Java API for implementing web services.


Ping & DNS - my free Android networking tools app
sindura kapur
Greenhorn

Joined: Jul 14, 2008
Posts: 22
but sun microsystems says javamail is correct answer. how ? and where exzctly javamail is used
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

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 ]

My Blog: Down Home Country Coding with Scott Selikoff
sindura kapur
Greenhorn

Joined: Jul 14, 2008
Posts: 22
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
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
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

Joined: Oct 23, 2005
Posts: 3710
    
    5

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
Bartender

Joined: Oct 14, 2005
Posts: 18662
    
    8

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

Joined: Jul 23, 2008
Posts: 352
How did you manage to get the answers for the proficiency exam???


be a well encapsulated person, don't expose your privates, unless you public void getWife()!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: surprised about javamail