<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting Hibernate3 to work in JDeveloper 10.1.3</title>
	<atom:link href="http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-hibernate3-to-work-in-jdeveloper-1013</link>
	<description></description>
	<lastBuildDate>Tue, 11 Jun 2013 22:09:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Kieran Kelly</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2332</link>
		<dc:creator>Kieran Kelly</dc:creator>
		<pubDate>Thu, 22 Sep 2011 09:56:16 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2332</guid>
		<description><![CDATA[Hi there, I am trying to get this working in JDeveloper 11g but some of the above instructions don&#039;t map exactly to that version. Â Can anyone point me to material that will help with this? Â Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hi there, I am trying to get this working in JDeveloper 11g but some of the above instructions don&#8217;t map exactly to that version. Â Can anyone point me to material that will help with this? Â Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajendra Barve</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2331</link>
		<dc:creator>Rajendra Barve</dc:creator>
		<pubDate>Thu, 21 Jan 2010 04:26:08 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2331</guid>
		<description><![CDATA[Sir ...
Thnaks for u r valuable Help ..it help me lot &lt;a href=&quot;http://technology.amis.nl/blog/705/getting-hibernate3-to-work-in-jdeveloper-1013&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Sir &#8230;<br />
Thnaks for u r valuable Help ..it help me lot <a href="http://technology.amis.nl/blog/705/getting-hibernate3-to-work-in-jdeveloper-1013" rel="nofollow"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alejandro Alves</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2330</link>
		<dc:creator>Alejandro Alves</dc:creator>
		<pubDate>Thu, 01 Feb 2007 14:10:11 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2330</guid>
		<description><![CDATA[Hi, I am trying to develop an application using hibernate, but it seems I am not able to create a build.xml file that works I have been looking at some manuals but it doesnÂ´t seem to work. Everyone gives a solution, but they donÂ´t work. Can you help me out? please...
Regards]]></description>
		<content:encoded><![CDATA[<p>Hi, I am trying to develop an application using hibernate, but it seems I am not able to create a build.xml file that works I have been looking at some manuals but it doesnÂ´t seem to work. Everyone gives a solution, but they donÂ´t work. Can you help me out? please&#8230;<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clark</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2329</link>
		<dc:creator>Clark</dc:creator>
		<pubDate>Fri, 27 Oct 2006 18:18:44 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2329</guid>
		<description><![CDATA[I don&#039;t know what&#039;s changed in jdev, but I basically followed the main steps and _it_just_worked_.  I didn&#039;t futz with the asm.jar or the 2.1 query parser or anything.  Also, I did my example by moving the query code into a separate facade-like class that returns a List, added a jsp:useBean tag to create an instance of the facade-like class, and then just added another c:foreach that sets the list as the items and then loops over them (ie. no raw servlet code required).  And the hibernate generated table displays right under the sql tag generated table.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t know what&#8217;s changed in jdev, but I basically followed the main steps and _it_just_worked_.  I didn&#8217;t futz with the asm.jar or the 2.1 query parser or anything.  Also, I did my example by moving the query code into a separate facade-like class that returns a List, added a jsp:useBean tag to create an instance of the facade-like class, and then just added another c:foreach that sets the list as the items and then loops over them (ie. no raw servlet code required).  And the hibernate generated table displays right under the sql tag generated table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter van Reeven</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2328</link>
		<dc:creator>Wouter van Reeven</dc:creator>
		<pubDate>Thu, 20 Jul 2006 21:17:43 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2328</guid>
		<description><![CDATA[Hi Mark,


Thank you very much for your comments. I am aware of making OC4J load local classes and jars before classes and jars shipped with OC4J. Please be aware that on JDeveloper 10.1.2 setting this option in oc4j-config.xml is overwritten everytime JDeveloper is started. In one of our projects we ended up making this file readonly. This problem does not occur with JDeveloper 10.1.3.
I will definately try loading local ASM jars out on JDeveloper 10.1.3 in an Hibernate3 context, cause I haven&#039;t tried that. It certainly sounds like a better option than to completely replace the OC4J jars.


Thanks, Wouter]]></description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>Thank you very much for your comments. I am aware of making OC4J load local classes and jars before classes and jars shipped with OC4J. Please be aware that on JDeveloper 10.1.2 setting this option in oc4j-config.xml is overwritten everytime JDeveloper is started. In one of our projects we ended up making this file readonly. This problem does not occur with JDeveloper 10.1.3.<br />
I will definately try loading local ASM jars out on JDeveloper 10.1.3 in an Hibernate3 context, cause I haven&#8217;t tried that. It certainly sounds like a better option than to completely replace the OC4J jars.</p>
<p>Thanks, Wouter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark B.</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2327</link>
		<dc:creator>Mark B.</dc:creator>
		<pubDate>Mon, 17 Jul 2006 15:53:32 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2327</guid>
		<description><![CDATA[In case anyone is interested in the solution to the problem mentioned above :
http://forums.oracle.com/forums/thread.jspa?messageID=1379129&amp;#1379129

This thread on the oracle forum describes how to configure oc4j to load local-classes before loading the classes that oracle deployes by default.

Anyone, who needs to use open-source implementation instead of oracle implementations should read this !]]></description>
		<content:encoded><![CDATA[<p>In case anyone is interested in the solution to the problem mentioned above :<br />
<a href="http://forums.oracle.com/forums/thread.jspa?messageID=1379129&#038;#1379129" rel="nofollow">http://forums.oracle.com/forums/thread.jspa?messageID=1379129&#038;#1379129</a></p>
<p>This thread on the oracle forum describes how to configure oc4j to load local-classes before loading the classes that oracle deployes by default.</p>
<p>Anyone, who needs to use open-source implementation instead of oracle implementations should read this !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark B.</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2326</link>
		<dc:creator>Mark B.</dc:creator>
		<pubDate>Sat, 15 Jul 2006 01:31:21 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2326</guid>
		<description><![CDATA[What I forgot to mention is, the problem describbed above is the case with the embedded version of oc4j.]]></description>
		<content:encoded><![CDATA[<p>What I forgot to mention is, the problem describbed above is the case with the embedded version of oc4j.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark B.</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2325</link>
		<dc:creator>Mark B.</dc:creator>
		<pubDate>Thu, 13 Jul 2006 22:57:08 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2325</guid>
		<description><![CDATA[As I was reading your article I notice the work around for ASM and ant jar files. This reminded me of a fundamental problem that I am experiencing with jdevelopers oc4j.

I ran in to a problem with jdevelopers embedded OC4J container when using web service libraries such as wsdl4j, saaj, jax-rpc.

With the code that I am currently writing, for example I used wsdl4j from Axis:

import javax.wsdl.factory.WSDLFactory;
import javax.wsdl.xml.WSDLReader;

WSDLFactory wsdlFactory = WSDLFactory.newInstance();
WSDLReader reader = wsdlFactory.newWSDLReader();

As this code runs normal in the jvm, it didnâ€™t work any more ones I had deployed to oc4j and ran it from a servlet.

When I started the debugger, I noticed that the â€˜readerâ€™ variable in the code example above, was of type oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl instead of type javax.wsdl.xml.WSDLReader.


Apparently oc4jâ€™s class-loader canâ€™t resolve the wsdl4j.jar and uses the standard webservice jar files that are contained in the Oracle JAX-RPC CLIENT library that come with the jdeveloper installation. If I am not mistaken these are located at â€¦\jdev1013\webservices\lib\  .

I also notices that in this lib directory oracle contains jar files for saaj, jax-rpc ect.

Does this mean you are tied down to using the oracle implementationâ€™s of these components, or is there a way to use libraries of your chosing ?

If not I have a huge problem, either I refactor my code to work with the oracle libraries or I abandon jdeveloper completely.

Without being able to deploy my own jar files to oc4j, jdeveloper is of no use to me.. unfortunately because until now I found it a great tool.]]></description>
		<content:encoded><![CDATA[<p>As I was reading your article I notice the work around for ASM and ant jar files. This reminded me of a fundamental problem that I am experiencing with jdevelopers oc4j.</p>
<p>I ran in to a problem with jdevelopers embedded OC4J container when using web service libraries such as wsdl4j, saaj, jax-rpc.</p>
<p>With the code that I am currently writing, for example I used wsdl4j from Axis:</p>
<p>import javax.wsdl.factory.WSDLFactory;<br />
import javax.wsdl.xml.WSDLReader;</p>
<p>WSDLFactory wsdlFactory = WSDLFactory.newInstance();<br />
WSDLReader reader = wsdlFactory.newWSDLReader();</p>
<p>As this code runs normal in the jvm, it didnâ€™t work any more ones I had deployed to oc4j and ran it from a servlet.</p>
<p>When I started the debugger, I noticed that the â€˜readerâ€™ variable in the code example above, was of type oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl instead of type javax.wsdl.xml.WSDLReader.</p>
<p>Apparently oc4jâ€™s class-loader canâ€™t resolve the wsdl4j.jar and uses the standard webservice jar files that are contained in the Oracle JAX-RPC CLIENT library that come with the jdeveloper installation. If I am not mistaken these are located at â€¦\jdev1013\webservices\lib\  .</p>
<p>I also notices that in this lib directory oracle contains jar files for saaj, jax-rpc ect.</p>
<p>Does this mean you are tied down to using the oracle implementationâ€™s of these components, or is there a way to use libraries of your chosing ?</p>
<p>If not I have a huge problem, either I refactor my code to work with the oracle libraries or I abandon jdeveloper completely.</p>
<p>Without being able to deploy my own jar files to oc4j, jdeveloper is of no use to me.. unfortunately because until now I found it a great tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter van Reeven</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2324</link>
		<dc:creator>Wouter van Reeven</dc:creator>
		<pubDate>Mon, 29 May 2006 09:43:47 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2324</guid>
		<description><![CDATA[Hi Hank,


I have no experience with C3PO. Also, I have never tried to let OC4J manage a SessionFactory for Hibernate, or any other JDBC framework for that matter. Sorry but I cannot be of any help here.


Greets, Wouter]]></description>
		<content:encoded><![CDATA[<p>Hi Hank,</p>
<p>I have no experience with C3PO. Also, I have never tried to let OC4J manage a SessionFactory for Hibernate, or any other JDBC framework for that matter. Sorry but I cannot be of any help here.</p>
<p>Greets, Wouter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hank</title>
		<link>http://technology.amis.nl/2005/08/12/getting-hibernate3-to-work-in-jdeveloper-1013/#comment-2323</link>
		<dc:creator>hank</dc:creator>
		<pubDate>Wed, 24 May 2006 18:06:33 +0000</pubDate>
		<guid isPermaLink="false">/?p=705#comment-2323</guid>
		<description><![CDATA[I see that you are managing the connection pooling through the oc4j container.  We are using C3P0 for this.  However, as we deploy to production, we probably should let the container manage the connection pool, so thanks for the help.  Do you have any thoughts on C3P0 vs. oc4j managed data sources?

Another question...Is it possible to let the oc4j container manage the SessionFactory through JNDI?  Not just the connection pool, but the entire factory.  I&#039;m concerned about running out of of Hibernate sessions in a high traffic website.

Thanks again.  Any comments would be appreciated.]]></description>
		<content:encoded><![CDATA[<p>I see that you are managing the connection pooling through the oc4j container.  We are using C3P0 for this.  However, as we deploy to production, we probably should let the container manage the connection pool, so thanks for the help.  Do you have any thoughts on C3P0 vs. oc4j managed data sources?</p>
<p>Another question&#8230;Is it possible to let the oc4j container manage the SessionFactory through JNDI?  Not just the connection pool, but the entire factory.  I&#8217;m concerned about running out of of Hibernate sessions in a high traffic website.</p>
<p>Thanks again.  Any comments would be appreciated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
