Re: [Resin-interest] WebSockets Chatroom example
On Mar 6, 2014, at 5:26 PM, Rick Mann rm...@latencyzero.com wrote: On Mar 6, 2014, at 09:47 , Paul Cowan co...@caucho.com wrote: For EJB you want: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb-api/3.0/ Hmm, I still get [javac] /Users/rmann/.../UsageMapServer.java:9: error: cannot find symbol [javac] import javax.ejb.Startup; Yes I see, @Startup is EJB 3.1 not 3.0. Resin 4.0 is EJB 3.1, and javax.ejb.Startup is in our javaee-16.jar, but I can't seem to find a generic API dependency jar for EJB 3.1 in Maven central. This one from Glassfish works: dependency groupIdorg.glassfish/groupId artifactIdjavax.ejb/artifactId version3.1/version scopeprovided/scope /dependency -Paul -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest === Paul Cowan, Software Engineer Caucho Technology co...@caucho.com http://blog.caucho.com http://twitter.com/cauchoresin ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] WebSockets Chatroom example
I'm trying to do the WebSockets example here: http://wiki4.caucho.com/WebSocket_API_Chat_Room_using_JSR_356 But it needs javax.ejb.Startup (among other things). My ant build script fails on this, because I don't seem to be including the right JAR. I tried to use the maven ant plugin (which is how I get all my dependencies), but there's no jar here: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb/ It suggests I get it from Oracle and manually install it. But I don't see how to get the right jar. I downloaded the massive Java EE 7 dev kit, but I'm not confident it's going to have what I need, nor do I know what version of EJB it will be. Any suggestions? How do I get set up to properly build apps like these? Thanks, -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] WebSockets Chatroom example
On Mar 6, 2014, at 3:37 AM, Rick Mann rm...@latencyzero.com wrote: I'm trying to do the WebSockets example here: http://wiki4.caucho.com/WebSocket_API_Chat_Room_using_JSR_356 But it needs javax.ejb.Startup (among other things). My ant build script fails on this, because I don't seem to be including the right JAR. I tried to use the maven ant plugin (which is how I get all my dependencies), but there's no jar here: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb/ It suggests I get it from Oracle and manually install it. But I don't see how to get the right jar. I downloaded the massive Java EE 7 dev kit, but I'm not confident it's going to have what I need, nor do I know what version of EJB it will be. For EJB you want: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb-api/3.0/ You just need the APIs to code against, Resin will provide the implementation when run. I've actually been meaning to write a Wiki page for questions related to JEE Maven dependencies, so I just did so. Please see: http://wiki4.caucho.com/Resin_4_Maven_Dependencies -Paul Any suggestions? How do I get set up to properly build apps like these? Thanks, -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest === Paul Cowan, Software Engineer Caucho Technology co...@caucho.com http://blog.caucho.com http://twitter.com/cauchoresin ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] WebSockets Chatroom example
On Mar 6, 2014, at 09:47 , Paul Cowan co...@caucho.com wrote: For EJB you want: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb-api/3.0/ Hmm, I still get [javac] /Users/rmann/.../UsageMapServer.java:9: error: cannot find symbol [javac] import javax.ejb.Startup; -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] WebSockets Chatroom example
Awesome, thanks! On Mar 6, 2014, at 09:47 , Paul Cowan co...@caucho.com wrote: On Mar 6, 2014, at 3:37 AM, Rick Mann rm...@latencyzero.com wrote: I'm trying to do the WebSockets example here: http://wiki4.caucho.com/WebSocket_API_Chat_Room_using_JSR_356 But it needs javax.ejb.Startup (among other things). My ant build script fails on this, because I don't seem to be including the right JAR. I tried to use the maven ant plugin (which is how I get all my dependencies), but there's no jar here: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb/ It suggests I get it from Oracle and manually install it. But I don't see how to get the right jar. I downloaded the massive Java EE 7 dev kit, but I'm not confident it's going to have what I need, nor do I know what version of EJB it will be. For EJB you want: http://mirrors.ibiblio.org/maven2/javax/ejb/ejb-api/3.0/ You just need the APIs to code against, Resin will provide the implementation when run. I've actually been meaning to write a Wiki page for questions related to JEE Maven dependencies, so I just did so. Please see: http://wiki4.caucho.com/Resin_4_Maven_Dependencies -Paul Any suggestions? How do I get set up to properly build apps like these? Thanks, -- Rick ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest === Paul Cowan, Software Engineer Caucho Technology co...@caucho.com http://blog.caucho.com http://twitter.com/cauchoresin ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest -- Rick signature.asc Description: Message signed with OpenPGP using GPGMail ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest