<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch EJB and Other J2EE Technologies</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=11</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="11-014735">
            <title>Measure size of JMS object message </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014735</link>
            <description>Hi &lt;br /&gt; &lt;br /&gt;Is there any way to measure the size of each JMS object message in application servers such as Jboss? &lt;br /&gt; &lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014735</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014735Amir Pourteymour</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 13:04:59 MDT</pubDate>
        </item>
        <item uniqueID="11-014734">
            <title>EJB QL - Changes with data in Table NOT REFLECTED</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014734</link>
            <description>&lt;b&gt;Here is my scenario -&lt;br /&gt; &lt;br /&gt;I have an Entity Bean (MyTable) -&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;@Entity&lt;br /&gt;@NamedQueries({ &lt;br /&gt; @NamedQuery(name = "MyTable.findAll", &lt;br /&gt; query = "select m from MyTable m"),&lt;br /&gt; ..........&lt;br /&gt; ..........&lt;br /&gt; public class MyTable implements Serializable {&lt;br /&gt; private String name;&lt;br /&gt; private Long roll_no;&lt;br /&gt; ..........&lt;br /&gt; ..........&lt;br /&gt; public String getName() {&lt;br /&gt; return name;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public void setName(String name) {&lt;br /&gt; this.name = name;&lt;br /&gt; }&lt;br /&gt; ..........&lt;br /&gt; ..........&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;I Have a Session Bean (MySession) ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014734</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014734Nitin Sinha</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 23:36:57 MDT</pubDate>
        </item>
        <item uniqueID="11-014733">
            <title>jboss and ejb2</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014733</link>
            <description>I have a servlet which calls an ejb (2.0). When I go to run the&lt;br /&gt;app, I get the following error:&lt;br /&gt; &lt;br /&gt;java.lang.ClassCastException&lt;br /&gt;com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)&lt;br /&gt;javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)&lt;br /&gt;fibo.servlets.FiboServlet.lookupFibonacciBean(FiboServlet.java:78)&lt;br /&gt;fibo.servlets.FiboServlet.doPost(FiboServlet.java:46)&lt;br /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:710)&lt;br /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;br /&gt;org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)&lt;br /&gt; &lt;br /&gt;Here's the code I use to lookup my ejb:&lt;br /&gt; &lt;br /&gt; private Fibonacci ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014733</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014733John Gregory</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 15:42:53 MDT</pubDate>
        </item>
        <item uniqueID="11-014732">
            <title>JMS Application Vs Non-Java Application</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014732</link>
            <description>Hi All,&lt;br /&gt; &lt;br /&gt; I'm new to JMS. i've basic query whether can i communicate a Non-Java application(.Net ,C, C++) by using an Application in JMS.&lt;br /&gt; &lt;br /&gt;And also suggest me good tutorials and API's.&lt;br /&gt; &lt;br /&gt;Any suggestions would be appreciated.Thanks in Advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014732</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014732meshek kumar</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 08:54:52 MDT</pubDate>
        </item>
        <item uniqueID="11-014731">
            <title>EJB3: when should session beans be used?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014731</link>
            <description>As they are not POJO and can only run in an application server, why should I&lt;br /&gt;choose EJB3 session beans over other technologies that use POJO?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014731</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014731John King</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 08:16:52 MDT</pubDate>
        </item>
        <item uniqueID="11-014730">
            <title>does GlassFish v2 support only EJB3.0 or also EJB2.x</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014730</link>
            <description>i want to install glassfish v2 but i have old EJB2.0 beans i want to deploy..does EJB2.0 supported in glassfish V2?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014730</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014730hisham ragheb</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 03:36:52 MDT</pubDate>
        </item>
        <item uniqueID="11-014729">
            <title>EJB3: standalone session bean?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014729</link>
            <description>Is it possible? If not, where can I download a free EJB3 application server?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014729</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014729John King</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 20:24:51 MDT</pubDate>
        </item>
        <item uniqueID="11-014727">
            <title>problem in deploying the EJB into the WebSphere app server</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014727</link>
            <description>Hi Everyone,&lt;br /&gt; &lt;br /&gt;I am very new to this EJB. I have developed a simple EJB application and deployed it into the WebSphere app server. It has shown the message like "Successfully deployed". I am using the MyEclipse Blue. After starting the server, in the logs I am getting a message like &lt;br /&gt; &lt;br /&gt;"naming exception caused the creation of the home obj to fail" &lt;br /&gt; &lt;br /&gt;Can anybody please tell me what is the problem and why I am getting this message? &lt;br /&gt; &lt;br /&gt;Thaks,&lt;br /&gt;Gayathri</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014727</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014727Gayathri Chowduru</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 02:42:48 MDT</pubDate>
        </item>
        <item uniqueID="11-014726">
            <title>JNDI example using LDAP</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014726</link>
            <description>Could any one help me to run a LDAP example. I am going through sun tutorials for JNDI, http://java.sun.com/products/jndi/tutorial/getStarted/examples/directory.html (http://java.sun.com/products/jndi/tutorial/getStarted/examples/directory.html)&lt;br /&gt; &lt;br /&gt;but not getting correctly that how to configure&lt;br /&gt; &lt;br /&gt;ldap://localhost:389/o=JNDITutorial&lt;br /&gt; &lt;br /&gt;Could you please provide me a good link to understand JNDI.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014726</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014726Pawan preet</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 22:06:48 MDT</pubDate>
        </item>
        <item uniqueID="11-014725">
            <title>JMS - ActiveMQ works, Oracle AQ JMS does not</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014725</link>
            <description>We're prototyping open source replacements for a legacy application.&lt;br /&gt; &lt;br /&gt;When we're running a prototype again ActiveMQ, we don't have any problems. Well, we ended up running spring on the applet side(!) because of an initialization issue with the naked activemq client libraries, but that was a mere annoyance.&lt;br /&gt; &lt;br /&gt;When we're running a prototype against the Oracle JMS wrapper on ActiveQueues, we run into a brick wall. (The legacy app uses AQ, we're prototyping on new AQ queues with JMS support enabled.) With the help of some online resources we've been able to get a test case to the point where the JMS calls throw a generic "corrupt data" exception, and the corresponding AQ-specific calls throw a NPE when writing to a HashT...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014725</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014725Bear Giles</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 11:52:47 MDT</pubDate>
        </item>
        <item uniqueID="11-014724">
            <title>Minimizing EAR Redeployment</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014724</link>
            <description>I have an EAR file containing a generic module which acts as a generic MDB as well as a number of JARs representing our services which is invoked by the MDB. The problem that is occurring is that whenever we change a module, we have to redeploy the whole application. I was wondering if there is a way to separate our JARs from the EAR file so that we can plug it into the server's deploy directory whenever a change is made. Can anyone help me out here?&lt;br /&gt; &lt;br /&gt;Thanks in advance,&lt;br /&gt; &lt;br /&gt;Juan</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014724</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014724JC Bustamante</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 10:00:46 MDT</pubDate>
        </item>
        <item uniqueID="11-014723">
            <title>NoClassDefFoundError in Cluster with JNDI</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014723</link>
            <description>All,&lt;br /&gt; &lt;br /&gt;Thanks for reading my post.&lt;br /&gt; &lt;br /&gt;I have a curious problem. I have a cluster in weblogic that contains two (hopefully) identical servers. I deploy my webapp to both. A proxy sits "out in front" of the weblogic cluster.&lt;br /&gt; &lt;br /&gt;The problem occurs when I enable both servers for failover. If the "L" server is the one to service the user request, everything works fine. If the "M" server is the one to service the request, it seems to fail in getting the JNDI root and gives the NoClassDefFoundError on my EJB that services the request.&lt;br /&gt; &lt;br /&gt;To get things to work correctly, I need to shutdown the "M" server and just have the "L" server active. Ultimately, this is not a solution.&lt;br /&gt; &lt;br /&gt;The JNDI tree for...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014723</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014723Scott Wilson</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 07:40:46 MDT</pubDate>
        </item>
        <item uniqueID="11-014722">
            <title>reg: EJB stateful session bean</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014722</link>
            <description>Hello friends,&lt;br /&gt; &lt;br /&gt; when i am reading EJB stateful session bean, came little bit confuse about how a statefull session bean will track that session bean belongs to a specific Clint.... As i think it may be using "" session using url rewriting technique ( session.encodeURL() ) .. just want to know how come it be correct.. if not can any one please tell me about this how it will track ...... &lt;br /&gt; &lt;br /&gt;Thanks &amp; Regards</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014722</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014722sri charan</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 05:02:46 MDT</pubDate>
        </item>
        <item uniqueID="11-014720">
            <title>MDB Listening to Multiple Queues</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014720</link>
            <description>I have a single MDB and i want it to listen to more than one queues say q1 and q2 I need to know what changes do i need to make in deployment descriptor to accomplish the same &lt;br /&gt;Kindly note that i am using Weblogic 8.1 SP 4&lt;br /&gt;would appreciate your early responses on this.. &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;Hemanth</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014720</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014720Hemanth H Bhat</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 22:30:36 MDT</pubDate>
        </item>
        <item uniqueID="11-014719">
            <title>Help me with Ejb3!</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014719</link>
            <description>I'm a beginner at EJB. &lt;br /&gt;I use Myeclipse 6.0, JBoss 5.0.0.Beta2 to deploy a stateless session bean - it's successful.&lt;br /&gt;But I can't write app client to access these bean. &lt;br /&gt;How can I do? - what're .jar files to use? or how can write .xml file?&lt;br /&gt;Please help me, thanks!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014719</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014719Vu Trang</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 21:56:36 MDT</pubDate>
        </item>
        <item uniqueID="11-014718">
            <title>Transactions in a J2EE environment</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014718</link>
            <description>Folks,&lt;br /&gt;I had a question regarding handling transactions in a J2EE environment.Lets say that I have three tables to be updated-Employee,Department and Emp-Dep.How do I implement the transaction logic for this-ensuring that department table gets updated only when the Employee table gets updated successfully.Else the entire transaction needs to be rolled back.Please advise.&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt;Dominic</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014718</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014718dominicv Kumar</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 16:02:35 MDT</pubDate>
        </item>
        <item uniqueID="11-014716">
            <title>servlet extension</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014716</link>
            <description>how do i know my istalled sdk have servlet extesion or wether i have installed j2ee platform?&lt;br /&gt;in my controlpanel it shows me that i have installed J2SE development kit 5.0 update 15.&lt;br /&gt; &lt;br /&gt;Thank you</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014716</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014716Asif Hussain Shaikh</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 14:40:32 MDT</pubDate>
        </item>
        <item uniqueID="11-014714">
            <title>Mbean state query</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014714</link>
            <description>Hi,&lt;br /&gt; Are Mbeans always stateless or is it also possible to keep the context of a session?How can this be done?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Jack</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014714</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014714Jack pero</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 00:52:27 MDT</pubDate>
        </item>
        <item uniqueID="11-014713">
            <title>NameNotFoundException</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014713</link>
            <description>Hi everyone,&lt;br /&gt; Im an ejb3.0 newbie and am trying to run my first bean, however i keep getting a NameNotFound exception everytime i run the client code, I'm using Jboss and have added all jar files required for the application to run.&lt;br /&gt; One thing that seemed odd when i deployed the bean was that no reference was made to JNDI name by exception at the server end which is usually made as soon as the bean is deployed, could someone please tell me where im going wrong.&lt;br /&gt; &lt;br /&gt;Thanks in advance,&lt;br /&gt;Ravissant Markenday</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014713</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014713Ravissant Markandey</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 23:22:27 MDT</pubDate>
        </item>
        <item uniqueID="11-014712">
            <title>EJB transaction issue</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014712</link>
            <description>I am having an issue with EJB transactions (regradless of BMT or CMT).&lt;br /&gt;If i have a say a bean which has the following methods&lt;br /&gt; &lt;br /&gt;interface_meth1() - (method in remore interface) - Transaction attribute is 'Not Supports'.&lt;br /&gt;{&lt;br /&gt; get db connection (say conn) from connection pool //step 1&lt;br /&gt; Call interface_meth2(conn) //step 2 (passing the db connection is step 1&lt;br /&gt; (Please note that i do a local look up of the same bean for invoking interface_meth2) &lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;interface_meth2(Connection conn) - Transaction attribute is Required (methd in local interface)&lt;br /&gt;{&lt;br /&gt; insert //step 3&lt;br /&gt; update //step 4&lt;br /&gt; insert //step 5&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;If step 5 throws an exception, i see changes made by st...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014712</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014712g Ven</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 19:10:26 MDT</pubDate>
        </item>
        <item uniqueID="11-014711">
            <title>EJB LookUp Version Problem</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014711</link>
            <description>I have a remote EJB method and deployed it on the Websphere using java version 1.5 and am trying to look it up using a standard standalone client which runs on java version 1.4 which prints the following exception in the log:&lt;br /&gt;The java class could not be loaded. java.lang.UnsupportedClassVersionError&lt;br /&gt;Works fine when i look it up using java version 1.5&lt;br /&gt;If some one can help me out on this problem.&lt;br /&gt;Thanks in Advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014711</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014711Arvind Kovuri</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 12:52:25 MDT</pubDate>
        </item>
        <item uniqueID="11-014710">
            <title>EJB Transactions issue</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014710</link>
            <description>I am having an issue with EJB transactions (regradless of BMT or CMT).&lt;br /&gt;If i have a say a bean which has the following methods&lt;br /&gt; &lt;br /&gt;interface_meth1() - (method in remore interface) - Transaction attribute is 'Not Supports'.&lt;br /&gt;{&lt;br /&gt;get db connection (say conn) from connection pool //step 1&lt;br /&gt;Call interface_meth2(conn) //step 2 (passing the db connection is step 1&lt;br /&gt;(Please note that i do a local look up of the same bean for invoking interface_meth2) &lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;interface_meth2(Connection conn) - Transaction attribute is Required (methd in local interface)&lt;br /&gt;{&lt;br /&gt;insert //step 3&lt;br /&gt;update //step 4&lt;br /&gt;insert //step 5&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;If step 5 throws an exception, i see changes made by step 4 commited i...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014710</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014710g Ven</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 12:46:25 MDT</pubDate>
        </item>
        <item uniqueID="11-014709">
            <title>this is my first ejb </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014709</link>
            <description>hi,&lt;br /&gt;this is my first ejb test ,i met a question that happy a exception &lt;br /&gt; &lt;br /&gt;chinese boy</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014709</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014709lijan jian</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 02:30:21 MDT</pubDate>
        </item>
        <item uniqueID="11-014707">
            <title>choosing between entity and session bean</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014707</link>
            <description>good day,&lt;br /&gt; &lt;br /&gt;1.what basis should i choose between session and entity bean on?&lt;br /&gt;2.if i have to put them together, what is the most important role each should perform?&lt;br /&gt; &lt;br /&gt;have a nice day,&lt;br /&gt;krishna prasad g</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014707</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014707krishna prasad gunasekaran</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 05:58:18 MDT</pubDate>
        </item>
        <item uniqueID="11-014706">
            <title>Transaction problem</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014706</link>
            <description>Could any please help me with the following exception??&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;javax.jms.JMSException: Could not create a session: javax.resource.ResourceException: Transaction is not active: tx &lt;br /&gt;=TransactionImpl:XidImpl[FormatId=257, GlobalId=awsdev201/118096, BranchQual=, localId= at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:403) at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createSession(JmsSessionFactoryImpl.java:369) at com.alcatel.util.jms.JmsUtil.sendRequestsOnDestination(JmsUtil.java:144) &lt;br /&gt; at com.alcatel.ni.datacollection.collection.DataCollectionBean.onMessage(DataCollectionBean.java:96) at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source) &lt;...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014706</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014706Shenaz Assu</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 06:32:15 MDT</pubDate>
        </item>
        <item uniqueID="11-014705">
            <title>where I am going to put the client code ?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014705</link>
            <description>I am going to make a project using struts as web-tier and EJB as a business tier . Now prolem is the bridge between these two tiers . where I will put the client code for ejb ?? &lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; I am using Jboss .</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014705</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014705kenji kunoichi</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 05:04:15 MDT</pubDate>
        </item>
        <item uniqueID="11-014704">
            <title>deployment layer</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014704</link>
            <description>What does Deployment Layer mean?. Is it needful for all J2EE application (all type of architecture).I cant develop J2EE application without Deployment layer. From a book, I found description, as "It is wrapper class used to publish the Business layer's object functionality to Java classes". I make me to assume that "Deployment layer only useful for distributed architecture".</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014704</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014704jacob deiter</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 03:38:15 MDT</pubDate>
        </item>
        <item uniqueID="11-014703">
            <title>error on running an ejb application</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014703</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I am facing the following error , while trying to call an ejb via a client.:-&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;[java] javax.naming.NameNotFoundException: interest not bound. &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;I am testing a tutorial from the link :- http://www.huihoo.org/jboss/online_manual/2.4/ch01s15.html (http://www.huihoo.org/jboss/online_manual/2.4/ch01s15.html)&lt;br /&gt;The line throwing exception is :- &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;Object ref = jndiContext.lookup("interest/Interest"); &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;Any help on this?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014703</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014703shiviM</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 03:08:15 MDT</pubDate>
        </item>
        <item uniqueID="11-014702">
            <title>EJB Beginner Book</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014702</link>
            <description>HI all, &lt;br /&gt; &lt;br /&gt; Please let me know which book is good for beginner of EJB 3.0. &lt;br /&gt; &lt;br /&gt;Regards, &lt;br /&gt;Indravadan Patel</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014702</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014702Indravadan T Patel</comments>
            <author/>
            <pubDate>Mon, 28 Apr 2008 00:44:14 MDT</pubDate>
        </item>
        <item uniqueID="11-014701">
            <title>Trigger for MDB </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014701</link>
            <description>Hello All, &lt;br /&gt; &lt;br /&gt;How could i use Oracle trigger to write a message to a queue and have a JMS provider in JBOSS. &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Thanks in advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014701</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014701Neha Mohit</comments>
            <author/>
            <pubDate>Sun, 27 Apr 2008 22:18:14 MDT</pubDate>
        </item>
        <item uniqueID="11-014700">
            <title>J2EE Web Hosting</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014700</link>
            <description>Hello All,&lt;br /&gt; Does any one know a good J2EE Web Hosting out there? I am trying to get one so that I can host my site developed in Servelts and JSP.&lt;br /&gt;thanks.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014700</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014700Tulsi Rai</comments>
            <author/>
            <pubDate>Sun, 27 Apr 2008 03:08:11 MDT</pubDate>
        </item>
        <item uniqueID="11-014699">
            <title> How to create Database connection using Datasource Mechanism approach</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014699</link>
            <description>Hi Friends,&lt;br /&gt;I want to know how to create the database connection using Datasource interface mechanism.. &lt;br /&gt; &lt;br /&gt;I want to know about the JNDI Lookup Mechanism, Connection pooling &amp; singleton approach used in this mechanism to establish the connection.. &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;It would be helpful if you can provide any example pls .. &lt;br /&gt; &lt;br /&gt;Many thanks in advance ! &lt;br /&gt; &lt;br /&gt;Regards,&lt;br /&gt;Somesh</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014699</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014699Somesh Rathi</comments>
            <author/>
            <pubDate>Sat, 26 Apr 2008 05:46:08 MDT</pubDate>
        </item>
        <item uniqueID="11-014698">
            <title>Problem with persisting entities because they become detached</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014698</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I'm working on a web application where I'm currently not able to persist certain entities because I get this exception:&lt;br /&gt; &lt;br /&gt;"org.hibernate.PersistentObjectException: detached entity passed to persist: Entities.Person"&lt;br /&gt; &lt;br /&gt;For a more complete understanding of the problem I will show you the most relevant code from my entities (They're related to each other in several steps so to see the connections I'm showing you 4 entities):&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;@Entity&lt;br /&gt;@Table(name = "cv")&lt;br /&gt;public class Cv implements Serializable {&lt;br /&gt; &lt;br /&gt;@Id&lt;br /&gt;@GeneratedValue (strategy = GenerationType.IDENTITY)&lt;br /&gt;@Column(name = "cvId", nullable = false)&lt;br /&gt;private Long cvId;&lt;br /&gt; &lt;br /&gt;@JoinColumn(na...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014698</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014698Ylva Degerfeldt</comments>
            <author/>
            <pubDate>Fri, 25 Apr 2008 14:26:06 MDT</pubDate>
        </item>
        <item uniqueID="11-014697">
            <title>Two transactions in one CMP MDB</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014697</link>
            <description>I have a CMP MDB, triggered by websphere scheduler and do some process. There is a requirement that I need to write a record in the error logging table when exception thrown from the process. But if there is exception, my transaction is rollback and so as the record in the error logging table. Is there any way I can begin another transaction in CMP?&lt;br /&gt; &lt;br /&gt;I'm using websphere 6.1 and oracle 10g.&lt;br /&gt; &lt;br /&gt;Thanks in advance.&lt;br /&gt; &lt;br /&gt;Rick</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014697</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014697rickdias rickdias</comments>
            <author/>
            <pubDate>Fri, 25 Apr 2008 10:22:06 MDT</pubDate>
        </item>
        <item uniqueID="11-014696">
            <title>Webapp and LDAP authentication</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014696</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I'm trying to authenticate user and password in a form of my web application on LDAP server.&lt;br /&gt; &lt;br /&gt;For do this, I wrote:&lt;br /&gt; &lt;br /&gt;Hashtable&amp;lt;String,String&amp;gt; env = new Hashtable&amp;lt;String,String&amp;gt;(4);&lt;br /&gt;env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");&lt;br /&gt; env.put(Context.PROVIDER_URL, "ldap://......:389/DC=.....,DC=....");&lt;br /&gt; env.put(Context.SECURITY_PRINCIPAL, userid);// User&lt;br /&gt; env.put(Context.SECURITY_CREDENTIALS, password);// Password&lt;br /&gt; &lt;br /&gt;try {&lt;br /&gt; new InitialDirContext(env);&lt;br /&gt; log.info("User " + userid + " authenticated in LDAP mode");&lt;br /&gt; } catch (AuthenticationExce...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014696</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014696BobMessina</comments>
            <author/>
            <pubDate>Thu, 24 Apr 2008 03:54:02 MDT</pubDate>
        </item>
        <item uniqueID="11-014695">
            <title>How to communicate with 2 different ejb modules residing in different appplications </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014695</link>
            <description>Hi All&lt;br /&gt; &lt;br /&gt;I have a question on how to call amethod from a ejb class in different application to the one residing in a different application. Is it possible?&lt;br /&gt;What all would I need to do so.&lt;br /&gt; &lt;br /&gt;e.g.&lt;br /&gt;I have an ejb class in myappejb.jar which is part of my application myapp.&lt;br /&gt;I need to call a method in another ejb which resides in pyapp2ejb.jar part of different application called myapp2. These applications will be residing on the same application server.&lt;br /&gt; &lt;br /&gt;Need help on this</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014695</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014695Avneet Singh</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 21:14:01 MDT</pubDate>
        </item>
        <item uniqueID="11-014694">
            <title>BMT Rollback Issue</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014694</link>
            <description>Hi&lt;br /&gt; &lt;br /&gt; I have a BMT (SLSB) wherein the code looks like:&lt;br /&gt; &lt;br /&gt; //Get utx from session context (I have also tried getting it from a Context lookup)&lt;br /&gt; try&lt;br /&gt; {&lt;br /&gt; utx.begin();&lt;br /&gt; &amp;lt;dml st1&amp;gt;&lt;br /&gt; &amp;lt;dml st2&amp;gt;&lt;br /&gt; utx.commit();&lt;br /&gt; utx.begin();&lt;br /&gt; &amp;lt;dml st3&amp;gt;&lt;br /&gt; &amp;lt;dml st4&amp;gt;&lt;br /&gt; utx.commit();&lt;br /&gt; }&lt;br /&gt; catch(....)&lt;br /&gt; {&lt;br /&gt; utx.rollback();&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; st4 raises an exception which gets trapped but the changes by st3 is not getting rolled back. I am using Weblogic 9.2.&lt;br /&gt; &lt;br /&gt; I tried getting a hook onto the transaction using weblogic.transaction.Transaction and printing the transaction object. The transaction object is unique after a begin and c...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014694</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014694g Ven</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 14:26:00 MDT</pubDate>
        </item>
        <item uniqueID="11-014693">
            <title>Why does Stateless Session Beans need pooling?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014693</link>
            <description>Hi, I wanna know if somebody has some explanation about why does SLSBs need pooling. What are it's benefits? Couldn't it be one instance per JVM? Since you don't need to keep any conversational state... Isn't it useless having many instances of the same class on server's memory?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014693</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014693Mauricio Rocha</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 14:00:00 MDT</pubDate>
        </item>
        <item uniqueID="11-014692">
            <title>JMS message selector</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014692</link>
            <description>My application has JMS selector similiar to one mentioned below:&lt;br /&gt;NumberOfOrders = 1&lt;br /&gt; &lt;br /&gt;I understand that a message will be picked up by the JMS client, if property value of "NumberOfOrders" in JMS message is set to 1.&lt;br /&gt;But, i am not sure what will happen if "NumberOfOrders" property is not added to the JMS message.&lt;br /&gt;Probably, selector condition will resolve to "null &amp;gt; 1" in above case and message will not be picked up by JMS client.&lt;br /&gt;Has someone tested this before?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014692</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014692Anuj Singhal</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 10:14:00 MDT</pubDate>
        </item>
        <item uniqueID="11-014690">
            <title>Getting 2 phase commit exception with SQL server and DB2 datasources.... </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014690</link>
            <description>Hi, I am using 2 datasources. one for SQL server(XA datasource)and another for DB2(not an XA). &lt;br /&gt; &lt;br /&gt;In the particular transaction, our code gets nearly 3 connections using getConnection of XA datasource and 2 connections using DB2 datasource. Getting the following exception when the transaction is about to commit: "An illegal attempt to commit a one phase capable resource with existing two phase capable resources has occurred." Is it required to close all connections before committing? &lt;br /&gt; &lt;br /&gt;Could you pls help me out of this problem soon??? Thanks in advance.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014690</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014690Nisha Durga</comments>
            <author/>
            <pubDate>Wed, 23 Apr 2008 01:47:59 MDT</pubDate>
        </item>
        <item uniqueID="11-014688">
            <title>why java:comp/env</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014688</link>
            <description>Hi,&lt;br /&gt;I have tried to underdstand by googling why we need to prefix "java:comp/env" with JNDI name every time we lookup,but still i am not very sure about this.&lt;br /&gt;Can someone please explain this in simple terms so that a new guy in the JAVA world can understand.&lt;br /&gt; &lt;br /&gt;thanks,&lt;br /&gt;Ajse</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014688</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014688ajse roy</comments>
            <author/>
            <pubDate>Tue, 22 Apr 2008 22:21:47 MDT</pubDate>
        </item>
        <item uniqueID="11-014687">
            <title>Problem with using Jboss</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014687</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I am using my Jboss Application Serer (Version: 4.2.2.GA) to run my JMS application. As long as I am using "jnp://localhost:1099", it works, but when I change localhost to the IP address ("jnp://132.205.93.311:1099") of the same machine, it gives me the following error. I also changed the jndi.properties like this:&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;Hashtable props = new Hashtable();&lt;br /&gt; &lt;br /&gt;props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");&lt;br /&gt; props.put(Context.PROVIDER_URL, "jnp://132.205.93.311:1099");&lt;br /&gt; props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming rg.jnp.interfaces");&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Error :&lt;br...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014687</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014687Amir Pourteymour</comments>
            <author/>
            <pubDate>Tue, 22 Apr 2008 12:13:46 MDT</pubDate>
        </item>
        <item uniqueID="11-014686">
            <title>Can't invoke a method on an -existing- bean (JEE)</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014686</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I'm learning JEE and tried a basic example with an entity bean Person&lt;br /&gt; and a stateless bean PersonFeederBean that is getting a list of persons and to persist them, print them and maybe remove them.&lt;br /&gt; &lt;br /&gt;The PersonFeederBean is called by ClientPersonFeeder creating the list of person to store.&lt;br /&gt; &lt;br /&gt;The code compiles in eclipse 3.2 with java compliance level 5, the jar can is deployed (on JBoss 404), the PersonFeederBean can be looked up and narrowed; to make sure it is not empty I added a test retrieving the methods; they are there. &lt;br /&gt; &lt;br /&gt;But when I want to call one of these methods I get the error:&lt;br /&gt; &lt;br /&gt;"$Proxy0.testInstanceAlive(Unknown Source)" as listed at the end of the code section.&lt;br /...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014686</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014686markus baum</comments>
            <author/>
            <pubDate>Tue, 22 Apr 2008 07:27:45 MDT</pubDate>
        </item>
        <item uniqueID="11-014684">
            <title>EJB3.0 transactions</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014684</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I understand all the EJB3.0 transaction attributes such as required, requires new etc..&lt;br /&gt; &lt;br /&gt;I have a small question, what does it mean when I see statements such as "If the caling method (the method calling the EJB method) is already running in a transaction". Does it mean if for example a servlet is calling the EJB in a transaction controled by JTA such as:&lt;br /&gt; &lt;br /&gt;transaction.begin();&lt;br /&gt;do some logic;&lt;br /&gt;call the ejb method;&lt;br /&gt;transaction.commit();&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt; &lt;br /&gt;Mark</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014684</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014684Mark Washington</comments>
            <author/>
            <pubDate>Mon, 21 Apr 2008 10:28:18 MDT</pubDate>
        </item>
        <item uniqueID="11-014683">
            <title>need some j2ee pro advice</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014683</link>
            <description>I have some j2ee experience but not very mcuh. I know java, jsp, servlet, struts, hibernate. But I haven't done anything like Spring, EJB 3, Ajax, web service stuff. Can you recommend me some books that provide step by step hand on instruction for these subjects ? I don't like those pure theory book. I like the books that provide real and small examples so that you can not only learn the theory but also gain some hands on experience.&lt;br /&gt; &lt;br /&gt;Thanks for your sharing !</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014683</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014683mark I thomas</comments>
            <author/>
            <pubDate>Sun, 20 Apr 2008 16:00:14 MDT</pubDate>
        </item>
        <item uniqueID="11-014682">
            <title>Problem with JMX </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014682</link>
            <description>Hello Everybody, &lt;br /&gt; I have written a very simple jmx program. The code is as under. &lt;br /&gt; &lt;br /&gt;HelloMBean&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt;public interface HelloMBean {&lt;br /&gt; &lt;br /&gt;public void setMessage(String message);&lt;br /&gt; &lt;br /&gt;public String getMessage();&lt;br /&gt; &lt;br /&gt;public void sayHello();&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;Hello&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt;public class Hello implements HelloMBean{&lt;br /&gt;&lt;br /&gt;private String message = null;&lt;br /&gt;&lt;br /&gt;public Hello(){&lt;br /&gt;message = "Hello there";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public Hello(String message){&lt;br /&gt;this.message = message;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public String getMessage() {&lt;br /&gt;// TODO Auto-generated method stub&lt;br /&gt;return message;&lt;br /&gt;}&lt;br...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014682</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014682Siddharth Bhargava</comments>
            <author/>
            <pubDate>Sun, 20 Apr 2008 09:06:33 MDT</pubDate>
        </item>
        <item uniqueID="11-014680">
            <title>Calling deployed EJB</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014680</link>
            <description>I am trying to deploy my first EJB, it is the same example given in [URL=Book (http://www.amazon.com/Mastering-Enterprise-JavaBeans-Patel-Sriganesh/dp/0471785415)]Mastering EJB 3.0[/url]. As described in the book I have create a business interface and wrote an bean implementation of it. Since it is EJB3.0 I have used annotation and no deployment descriptor file. Deployed the same in JBOSS using NetBeans. &lt;br /&gt; Now I wrote the client to call a method (sayHello) in the bean class and the code goes like this (I tried using the same told in the example but it didn't workout&lt;br /&gt; &lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; Properties properties = new Properties();&lt;br /&gt; properties.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContext...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014680</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014680veerabahu Subramanian</comments>
            <author/>
            <pubDate>Sun, 20 Apr 2008 01:10:26 MDT</pubDate>
        </item>
        <item uniqueID="11-014679">
            <title>Design patterns</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014679</link>
            <description>Hello friens,&lt;br /&gt; &lt;br /&gt;Please wxplain this in brief.&lt;br /&gt; &lt;br /&gt;Presently we are developing a classified by using Struts that has components like Eventcalender,Housing, Jobs, sale etc .And My Module is Housing.&lt;br /&gt;Housing has internel components like House for sale, house for rent etc&lt;br /&gt; &lt;br /&gt;Can any one explain What are the desine patterns i need to use for this.&lt;br /&gt; &lt;br /&gt;And How many DAO's i need to use.&lt;br /&gt;Thanks,&lt;br /&gt;Krishna Tota</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014679</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014679Krishna Tota</comments>
            <author/>
            <pubDate>Sat, 19 Apr 2008 04:44:23 MDT</pubDate>
        </item>
        <item uniqueID="11-014678">
            <title>DAO for module</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014678</link>
            <description>Hello friens,&lt;br /&gt; &lt;br /&gt;Please wxplain this in brief.&lt;br /&gt; &lt;br /&gt;How many DAO's will be there for a single module in general?&lt;br /&gt;Please explain dy taking a small module.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Krishna Tota</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014678</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014678Krishna Tota</comments>
            <author/>
            <pubDate>Sat, 19 Apr 2008 04:34:23 MDT</pubDate>
        </item>
        <item uniqueID="11-014677">
            <title>Help on DAO</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014677</link>
            <description>Hello friens,&lt;br /&gt; &lt;br /&gt;Please wxplain this in brief.&lt;br /&gt; &lt;br /&gt;How will transaction start and transaction end?&lt;br /&gt; &lt;br /&gt;Which object will be responsible for starting and ending a transaction?&lt;br /&gt;Please explain with example.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Krishna Tota</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014677</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=11&amp;t=014677Krishna Tota</comments>
            <author/>
            <pubDate>Sat, 19 Apr 2008 04:30:23 MDT</pubDate>
        </item> 
    </channel>
</rss>
