<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Objectopia</title>
	<atom:link href="http://objectopia.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://objectopia.com</link>
	<description></description>
	<lastBuildDate>Wed, 20 Feb 2013 15:25:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Dominik</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-227</link>
		<dc:creator><![CDATA[Dominik]]></dc:creator>
		<pubDate>Wed, 20 Feb 2013 15:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-227</guid>
		<description><![CDATA[Thanks for that post! One question - I have  simple maven JavaSE project which only prints Hello World on the console via an inject. When executed inside eclipse with a run configuration in which I specify the main class org.jboss.weld.environment.se.StartMain the program works just fine. However, when I executed a &quot;mvn compile test&quot; it fails. Why? I use the exec-maven-plugin to specify the mainClass for phase test/goal java.

Running asd.MainTest
23 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.10 (Final)
114 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
348 [main] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry - Class &#039;javax.ejb.PostActivate&#039; not found, interception based on it is not enabled
349 [main] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry - Class &#039;javax.ejb.PrePassivate&#039; not found, interception based on it is not enabled
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.541 sec &lt;&lt;&lt; FAILURE!

Results :

Tests in error:
  initializationError(asd.MainTest): Index: 0, Size: 0]]></description>
		<content:encoded><![CDATA[<p>Thanks for that post! One question &#8211; I have  simple maven JavaSE project which only prints Hello World on the console via an inject. When executed inside eclipse with a run configuration in which I specify the main class org.jboss.weld.environment.se.StartMain the program works just fine. However, when I executed a &#8220;mvn compile test&#8221; it fails. Why? I use the exec-maven-plugin to specify the mainClass for phase test/goal java.</p>
<p>Running asd.MainTest<br />
23 [main] INFO org.jboss.weld.Version &#8211; WELD-000900 1.1.10 (Final)<br />
114 [main] INFO org.jboss.weld.Bootstrap &#8211; WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.<br />
348 [main] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry &#8211; Class &#8216;javax.ejb.PostActivate&#8217; not found, interception based on it is not enabled<br />
349 [main] WARN org.jboss.weld.interceptor.util.InterceptionTypeRegistry &#8211; Class &#8216;javax.ejb.PrePassivate&#8217; not found, interception based on it is not enabled<br />
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.541 sec &lt;&lt;&lt; FAILURE!</p>
<p>Results :</p>
<p>Tests in error:<br />
  initializationError(asd.MainTest): Index: 0, Size: 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing your JBoss JMX Invoker Layer by CVE-2009-5066 (jboss_community_application_server, jboss_enterprise_application_platform) &#124; Web Security Watch</title>
		<link>http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/#comment-224</link>
		<dc:creator><![CDATA[CVE-2009-5066 (jboss_community_application_server, jboss_enterprise_application_platform) &#124; Web Security Watch]]></dc:creator>
		<pubDate>Tue, 25 Sep 2012 20:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=154#comment-224</guid>
		<description><![CDATA[[...] Source: MISC Name: http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/ Hyperlink: [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Source: MISC Name: <a href="http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/" rel="nofollow">http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/</a> Hyperlink: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling Stored Procedures in JPA by amazon</title>
		<link>http://objectopia.com/2009/06/26/calling-stored-procedures-in-jpa/#comment-215</link>
		<dc:creator><![CDATA[amazon]]></dc:creator>
		<pubDate>Sat, 24 Mar 2012 09:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.wordpress.com/?p=8#comment-215</guid>
		<description><![CDATA[&lt;strong&gt;amazon...&lt;/strong&gt;

[...]Calling Stored Procedures in JPA &#171; Objectopia[...]...]]></description>
		<content:encoded><![CDATA[<p><strong>amazon&#8230;</strong></p>
<p>[...]Calling Stored Procedures in JPA &laquo; Objectopia[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hibernate and sets &#8211; use at your peril by Chris Clark</title>
		<link>http://objectopia.com/2011/12/06/hibernate-and-sets-use-at-your-peril/#comment-168</link>
		<dc:creator><![CDATA[Chris Clark]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 08:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=389#comment-168</guid>
		<description><![CDATA[Hi Christian,

Thanks for the comment, I&#039;m humbled that someone such as yourself would take the time to respond. Like you say in your blog mapping a collection is a feature and what I&#039;m pointing out in this post is that using this feature has a side effect, which I&#039;ve not seen documented and it can have some massive performance overhead. I don&#039;t see why when using a ORM I should loose the ability to treat objects as objects without having to call a DAO to get related objects.

Thanks 

Chris]]></description>
		<content:encoded><![CDATA[<p>Hi Christian,</p>
<p>Thanks for the comment, I&#8217;m humbled that someone such as yourself would take the time to respond. Like you say in your blog mapping a collection is a feature and what I&#8217;m pointing out in this post is that using this feature has a side effect, which I&#8217;ve not seen documented and it can have some massive performance overhead. I don&#8217;t see why when using a ORM I should loose the ability to treat objects as objects without having to call a DAO to get related objects.</p>
<p>Thanks </p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hibernate and sets &#8211; use at your peril by Christian Bauer</title>
		<link>http://objectopia.com/2011/12/06/hibernate-and-sets-use-at-your-peril/#comment-167</link>
		<dc:creator><![CDATA[Christian Bauer]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 06:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=389#comment-167</guid>
		<description><![CDATA[&quot;I understand why sets are used&quot;

I&#039;m not sure you do. There are two reasons why you&#039;d have a @OneToMany(mappedBy): 

You have a legacy Java codebase or bad architecture and you HAVE to iterate through a collection of TaxComponents, you can&#039;t execute a query (call a DAO method) to access that data.

The second reason is that you can do some fancy query tricks (batch fetching) with such a collection. As you are having problems with queries, well, let&#039;s just say whoever created the @OneToMany probably didn&#039;t think about that either.

So remove the @OneToMany and the collection. It&#039;s not doing you any good and it&#039;s not necessary (mappedBy).

See: http://in.relation.to/1395.lace]]></description>
		<content:encoded><![CDATA[<p>&#8220;I understand why sets are used&#8221;</p>
<p>I&#8217;m not sure you do. There are two reasons why you&#8217;d have a @OneToMany(mappedBy): </p>
<p>You have a legacy Java codebase or bad architecture and you HAVE to iterate through a collection of TaxComponents, you can&#8217;t execute a query (call a DAO method) to access that data.</p>
<p>The second reason is that you can do some fancy query tricks (batch fetching) with such a collection. As you are having problems with queries, well, let&#8217;s just say whoever created the @OneToMany probably didn&#8217;t think about that either.</p>
<p>So remove the @OneToMany and the collection. It&#8217;s not doing you any good and it&#8217;s not necessary (mappedBy).</p>
<p>See: <a href="http://in.relation.to/1395.lace" rel="nofollow">http://in.relation.to/1395.lace</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Ales</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-129</link>
		<dc:creator><![CDATA[Ales]]></dc:creator>
		<pubDate>Tue, 31 May 2011 10:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-129</guid>
		<description><![CDATA[It&#039;s just a matter of adding the right (additional) deps to the classpath.
Wrt the test, it&#039;s pretty much the same, WeldJUnit4Runner --&gt; Arquillian.
While then you can properly test your stuff, not just in mock-ed up embedded Weld container,
but real runtime env; JBossAS, GF, Tomcat, Jetty, ... all with exactly the same code.

But that doesn&#039;t mean I don&#039;t like how you did it, as it nicely shows true power of JUnit and CDI. :-)]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s just a matter of adding the right (additional) deps to the classpath.<br />
Wrt the test, it&#8217;s pretty much the same, WeldJUnit4Runner &#8211;&gt; Arquillian.<br />
While then you can properly test your stuff, not just in mock-ed up embedded Weld container,<br />
but real runtime env; JBossAS, GF, Tomcat, Jetty, &#8230; all with exactly the same code.</p>
<p>But that doesn&#8217;t mean I don&#8217;t like how you did it, as it nicely shows true power of JUnit and CDI. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Chris Burnley</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-128</link>
		<dc:creator><![CDATA[Chris Burnley]]></dc:creator>
		<pubDate>Tue, 31 May 2011 10:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-128</guid>
		<description><![CDATA[I could ... but why bother making something simple complicated ?]]></description>
		<content:encoded><![CDATA[<p>I could &#8230; but why bother making something simple complicated ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Ales</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-127</link>
		<dc:creator><![CDATA[Ales]]></dc:creator>
		<pubDate>Mon, 30 May 2011 13:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-127</guid>
		<description><![CDATA[Or you could use Weld + its Arquillian container.
A bit more work wrt jars + classpath,
but you could then easily pass the same test around between diff containers.]]></description>
		<content:encoded><![CDATA[<p>Or you could use Weld + its Arquillian container.<br />
A bit more work wrt jars + classpath,<br />
but you could then easily pass the same test around between diff containers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing your JBoss JMX Invoker Layer by Technical Related Notes &#187; Blog Archive &#187; links for 2011-03-22</title>
		<link>http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/#comment-110</link>
		<dc:creator><![CDATA[Technical Related Notes &#187; Blog Archive &#187; links for 2011-03-22]]></dc:creator>
		<pubDate>Mon, 18 Apr 2011 09:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=154#comment-110</guid>
		<description><![CDATA[[...] secure jboss (tags: jboss) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] secure jboss (tags: jboss) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing your JBoss JMX Invoker Layer by Slava</title>
		<link>http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/#comment-77</link>
		<dc:creator><![CDATA[Slava]]></dc:creator>
		<pubDate>Sun, 03 Apr 2011 04:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=154#comment-77</guid>
		<description><![CDATA[for those who find this topic by search:

There is a community courtesy notification for a severe security issue affecting some of the JBoss projects and products. Default security settings in web.xml protect only GET and POST protocols leaving another ones open. Please refer to the following Red Hat KBase article for more information:
 
&lt;a href=&quot;http://kbase.redhat.com/faq/docs/DOC-30741&quot; rel=&quot;nofollow&quot;&gt;JBoss Products &amp; CVE-2010-0738&lt;/a&gt;
 
Only when you apply the solution you can be sure that your JMX Console is protected.
Please note that Web Console has the same issue, and you need to apply the solution to it as well.

Also it is recommended to hash passwords in the config files. Read about how to do it in &lt;a href=&quot;http://docs.jboss.org/jbossas/getting_started/v2/startguide40/security.html&quot; rel=&quot;nofollow&quot;&gt;JBoss Getting Started guide&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>for those who find this topic by search:</p>
<p>There is a community courtesy notification for a severe security issue affecting some of the JBoss projects and products. Default security settings in web.xml protect only GET and POST protocols leaving another ones open. Please refer to the following Red Hat KBase article for more information:</p>
<p><a href="http://kbase.redhat.com/faq/docs/DOC-30741" rel="nofollow">JBoss Products &amp; CVE-2010-0738</a></p>
<p>Only when you apply the solution you can be sure that your JMX Console is protected.<br />
Please note that Web Console has the same issue, and you need to apply the solution to it as well.</p>
<p>Also it is recommended to hash passwords in the config files. Read about how to do it in <a href="http://docs.jboss.org/jbossas/getting_started/v2/startguide40/security.html" rel="nofollow">JBoss Getting Started guide</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
