Re: [Resin-interest] Quercus + EJB
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> I want to use the @EJB annotation on a quercus available class from >> PHP, >> but the classes in Quercus are not introspected and therefore no >> dependency injection is done... >> Are there any special reasons for this? > > Can you give a few more details? How are you instantiating the > object? Adding the injection is a little bit of work, so we need to > add code for each object instantiation that needs injection. I've written a Java class with an @EJB annotated attribute and some business logic methods. Then I've created an instance of that object from PHP/Quercus and call the business methods. This leads to an NPE, since the attribute is not set and not dependency injected. But for example when I do a manual JNDI lookup and set the attribute in the constructor then every thing does work fine. Isn't the @EJB annotation for simplify coding and helping the developer in JNDI lookups? Thanks Markus Wolf - -- NMMN - New Media Markets & Networks http://www.nmmn.com/ Langbehnstrasse 6 22761 Hamburg Tel. 040 284 118 - 720 Fax 040 284 118 - 999 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFhrv6DBHISU1oEKERAgJFAJ0f+xhGnnezwoYgISQBoqeHsP8YlQCgz8vu qnXOTVierezLB48/RYO72N0= =jIxj -END PGP SIGNATURE- ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Quercus + EJB
On Dec 18, 2006, at 2:03 AM, Markus Wolf wrote: > Hi, > > I want to use the @EJB annotation on a quercus available class from > PHP, > but the classes in Quercus are not introspected and therefore no > dependency injection is done... > Are there any special reasons for this? Can you give a few more details? How are you instantiating the object? Adding the injection is a little bit of work, so we need to add code for each object instantiation that needs injection. -- Scott > > Thanks > Markus Wolf > -- > NMMN - New Media Markets & Networks > http://www.nmmn.com/ > Langbehnstrasse 6 > 22761 Hamburg > Tel. 040 284 118 - 720 > Fax 040 284 118 - 999 > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Quercus example apps that work
Chaps, Has anyone got an example Quercus app utilising a database that works? I've got the latest resin 3.1 snapshot and am trying to get eithergallery2 or mediawiki to work. Needless to say I'm not having much luck. I've got the standard "hello world" and a "php info" page to work but nothing else really. Alex * To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html *___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin 3.1 and third-party JPA
Hi list readers, we implemented support for third-party JPA implementations with resin. Everyone who is interested could get the implementation from the resin bugtracker unter the bug id #1507. The implementation is tested with Oracle TopLink Essentials. Markus Wolf -- NMMN - New Media Markets & Networks http://www.nmmn.com/ Langbehnstrasse 6 22761 Hamburg Tel. 040 284 118 - 720 Fax 040 284 118 - 999 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Quercus + EJB
Hi, I want to use the @EJB annotation on a quercus available class from PHP, but the classes in Quercus are not introspected and therefore no dependency injection is done... Are there any special reasons for this? Thanks Markus Wolf -- NMMN - New Media Markets & Networks http://www.nmmn.com/ Langbehnstrasse 6 22761 Hamburg Tel. 040 284 118 - 720 Fax 040 284 118 - 999 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] need help with resin 3.0.22 pro
At 2006-12-16 03:46, Steve Burrus wrote: >I need help from someone re. just how I should go about viewing a servlet in >my browser using resin-pro 3.0.22. Thanx to anyone who can help me with >this. Unless you have run into some kind of problem you are not telling us about, you need to read up on the basics on Java web application development and Resin installation. A good place to start is the Resin documentation: http://www.caucho.com/resin-3.0/index.xtp You may also want to get a book on the subject, such as Wrox Professional Java Servlets (just to name one). ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest