Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

JMS

Thread view: 
James Yong - 24 Nov 2005 02:54 GMT
Hi,

Can I use JMS in a Tomcat-only environment, i.e. my web applications are all
run in Tomcat, instead of a full j2ee server?

Regards,
James
EricF - 24 Nov 2005 05:40 GMT
>Hi,
>
[quoted text clipped - 3 lines]
>Regards,
>James

Absolutely. JMS is not J2EE. You may be confusing JMS with MessageDrivenBeans.
(MDB are part of J2EE and use JMS.)

Eric
Thomas Hawtin - 24 Nov 2005 13:34 GMT
> Absolutely. JMS is not J2EE. You may be confusing JMS with MessageDrivenBeans.
> (MDB are part of J2EE and use JMS.)

I'm not sure that I follow your distinction. EJB does not imply J2EE, or
vice versa. My understanding is that EJB, JMS and J2SE are referenced by
J2EE, but none of them require it.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

EricF - 25 Nov 2005 04:55 GMT
>> Absolutely. JMS is not J2EE. You may be confusing JMS with
> MessageDrivenBeans.
[quoted text clipped - 5 lines]
>
>Tom Hawtin

Tom, EJB are part of the J2EE api. AFAIK they can only be run in a J2EE
container.

Eric
Thomas Hawtin - 25 Nov 2005 14:51 GMT
> Tom, EJB are part of the J2EE api. AFAIK they can only be run in a J2EE
> container.

Historically impossible as EJB predates J2EE.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

EricF - 25 Nov 2005 17:18 GMT
>> Tom, EJB are part of the J2EE api. AFAIK they can only be run in a J2EE
>> container.
>
>Historically impossible as EJB predates J2EE.
>
>Tom Hawtin

Tom, I don't know about the history - but take a look at today's docs.

Eric
Thomas Hawtin - 25 Nov 2005 18:56 GMT
>>>Tom, EJB are part of the J2EE api. AFAIK they can only be run in a J2EE
>>>container.
>>
>>Historically impossible as EJB predates J2EE.
>
> Tom, I don't know about the history - but take a look at today's docs.

EJB container is one of the containers referenced by Java EE/J2EE. I
have just had a quick look through the EJB 3.0 Public Review "EJB Core
Contracts and Requirements". While EJBs are required to be provided with
a good chunk of APIs whose specifications are also referenced by Java
EE/J2EE, I see no evidence that the EJB specification mandates Java EE/J2EE.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

Jon Martin Solaas - 26 Nov 2005 15:22 GMT
>>>> Tom, EJB are part of the J2EE api. AFAIK they can only be run in a
>>>> J2EE container.
[quoted text clipped - 11 lines]
>
> Tom Hawtin

EJB is *part of* the J2EE spec. If you use EJB's you per def. use (a
part of) J2EE. Even JDBC, though the interfaces are distributed in the
JDK, is part of the J2EE spec. To actually use jdbc, all you need is a
driver from a vendor, and a J2SE jdk. However, you're still programming
using a J2EE api.

Signature

jon martin solaas

Thomas Hawtin - 26 Nov 2005 21:00 GMT
> EJB is *part of* the J2EE spec. If you use EJB's you per def. use (a
> part of) J2EE. Even JDBC, though the interfaces are distributed in the
> JDK, is part of the J2EE spec. To actually use jdbc, all you need is a
> driver from a vendor, and a J2SE jdk. However, you're still programming
> using a J2EE api.

By your definition, every J2SE/Java SE programmer is a J2EE/Java EE
programmer. Presumably C programmers are C++ programmers as well (more
or less). Very much a recruitment agent point of view. Oh and getting
back to EricF, JMS is now J2EE/Java EE.

Tom Hawtin
Signature

Unemployed English Java programmer
http://jroller.com/page/tackline/

Son KwonNam - 24 Nov 2005 11:10 GMT
How about ActiveMQ for JMS?

http://www.activemq.org/

Regards,
KwonNam.

> Hi,
>
[quoted text clipped - 3 lines]
> Regards,
> James
iksrazal@gmail.com - 24 Nov 2005 13:21 GMT
> Hi,
>
[quoted text clipped - 3 lines]
> Regards,
> James

I've done it via openjms. Tomcat does _not_ come with JMS, you need to
add it.

HTH,
iksrazal
http://www.braziloutsource.com/
James Yong - 25 Nov 2005 05:38 GMT
Hi All,

Thanks all for the answers.
I will look into ActiveMQ and OpenJMS.
Thank you very much.

Regards,
James


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.