<?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/">
	<channel>
		<title><![CDATA[Murugesan Forums - All Forums]]></title>
		<link>http://www.murugesanpitchandi.com/muruforums/</link>
		<description><![CDATA[Murugesan Forums - http://www.murugesanpitchandi.com/muruforums]]></description>
		<pubDate>Sun, 20 May 2012 08:23:06 -0700</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Difference/Advantages between SOA and BPEL?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=264</link>
			<pubDate>Sun, 07 Aug 2011 23:55:31 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=264</guid>
			<description><![CDATA[<span style="font-weight: bold;">Difference:</span><br />
SOA is an architecture and not a technology. BPEL is a technology to build SOA architectural programs.<br />
<br />
<br />
<span style="font-weight: bold;">Advantages of SOA architecture and BPEL technology</span><br />
<br />
    * Being SOA an architectural concept rather than a technology it is concentrated on business rather than development or coding.<br />
    * Using SOA architecture and BPEL technology you can integrate multiple legacy systems through reusable services/objects.<br />
    * BPEL provides handshaking which means you can track what is happening to your input. If it is successfully processed or not.<br />
    * You Can create alerts to notify about errors in processing or critical conditions.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;">Difference:</span><br />
SOA is an architecture and not a technology. BPEL is a technology to build SOA architectural programs.<br />
<br />
<br />
<span style="font-weight: bold;">Advantages of SOA architecture and BPEL technology</span><br />
<br />
    * Being SOA an architectural concept rather than a technology it is concentrated on business rather than development or coding.<br />
    * Using SOA architecture and BPEL technology you can integrate multiple legacy systems through reusable services/objects.<br />
    * BPEL provides handshaking which means you can track what is happening to your input. If it is successfully processed or not.<br />
    * You Can create alerts to notify about errors in processing or critical conditions.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What is BPEL?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=263</link>
			<pubDate>Sun, 07 Aug 2011 23:54:17 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=263</guid>
			<description><![CDATA[BPEL stands for “Business Process Engineering Language”. BPEL is a technology used to build programs in SOA architecture.]]></description>
			<content:encoded><![CDATA[BPEL stands for “Business Process Engineering Language”. BPEL is a technology used to build programs in SOA architecture.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What is SOA?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=262</link>
			<pubDate>Sun, 07 Aug 2011 23:53:37 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=262</guid>
			<description><![CDATA[SOA stands for “Service Oriented Architecture”. SOA is an architectural approach using technology to present business processes as reusable services. SOA is focused on the business and enables process transformation to new levels of integration, visualization, monitoring, and optimization.SOA is not a technology, it is a concept and a strategy for using technologies to build business automation solutions. SOA can be achieved through web services like BPEL.<br />
<br />
The fundamental of SOA is a unitary event bus which is triggered by receipt of a Message: <br />
A service registers with this bus to be informed when messages arrive. Next up the chain is a handler (dispatcher), that allows for sub-services (sub-components) to register for sub-documents (sub-messages) that may be logically or physically embedded in the initially received message. This is an entirely recursive architecture]]></description>
			<content:encoded><![CDATA[SOA stands for “Service Oriented Architecture”. SOA is an architectural approach using technology to present business processes as reusable services. SOA is focused on the business and enables process transformation to new levels of integration, visualization, monitoring, and optimization.SOA is not a technology, it is a concept and a strategy for using technologies to build business automation solutions. SOA can be achieved through web services like BPEL.<br />
<br />
The fundamental of SOA is a unitary event bus which is triggered by receipt of a Message: <br />
A service registers with this bus to be informed when messages arrive. Next up the chain is a handler (dispatcher), that allows for sub-services (sub-components) to register for sub-documents (sub-messages) that may be logically or physically embedded in the initially received message. This is an entirely recursive architecture]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Securing your Web services with Spring-WS]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=261</link>
			<pubDate>Fri, 05 Aug 2011 00:01:43 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=261</guid>
			<description><![CDATA[Three different areas of WS-Security, namely:<br />
<br />
<span style="font-weight: bold;">Authentication</span>.  This is the process of determining whether a principal is who they claim to be. In this context, a "principal" generally means a user, device or some other system which can perform an action in your application.<br />
<br />
<span style="font-weight: bold;">Digital signatures</span>.  The digital signature of a message is a piece of information based on both the document and the signer's private key. It is created through the use of a hash function and a private signing function (encrypting with the signer's private key).<br />
<br />
<span style="font-weight: bold;">Encryption and Decryption</span>.  Encryption is the process of transforming data into a form that is impossible to read without the appropriate key. It is mainly used to keep information hidden from anyone for whom it is not intended. Decryption is the reverse of encryption; it is the process of transforming of encrypted data back into an readable form.<br />
<br />
For More Info <a href="http://static.springsource.org/spring-ws/site/reference/html/security.html" target="_blank">Click Here</a>]]></description>
			<content:encoded><![CDATA[Three different areas of WS-Security, namely:<br />
<br />
<span style="font-weight: bold;">Authentication</span>.  This is the process of determining whether a principal is who they claim to be. In this context, a "principal" generally means a user, device or some other system which can perform an action in your application.<br />
<br />
<span style="font-weight: bold;">Digital signatures</span>.  The digital signature of a message is a piece of information based on both the document and the signer's private key. It is created through the use of a hash function and a private signing function (encrypting with the signer's private key).<br />
<br />
<span style="font-weight: bold;">Encryption and Decryption</span>.  Encryption is the process of transforming data into a form that is impossible to read without the appropriate key. It is mainly used to keep information hidden from anyone for whom it is not intended. Decryption is the reverse of encryption; it is the process of transforming of encrypted data back into an readable form.<br />
<br />
For More Info <a href="http://static.springsource.org/spring-ws/site/reference/html/security.html" target="_blank">Click Here</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[two development styles for web services?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=260</link>
			<pubDate>Thu, 04 Aug 2011 23:13:13 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=260</guid>
			<description><![CDATA[When creating Web services, there are two development styles: Contract Last and Contract First. When using a contract-last approach, you start with the Java code, and let the Web service contract (WSDL, see sidebar) be generated from that. When using contract-first, you start with the WSDL contract, and use Java to implement said contract.<br />
<br />
For more info <a href="http://static.springsource.org/spring-ws/site/reference/html/why-contract-first.html" target="_blank">Click Here</a>]]></description>
			<content:encoded><![CDATA[When creating Web services, there are two development styles: Contract Last and Contract First. When using a contract-last approach, you start with the Java code, and let the Web service contract (WSDL, see sidebar) be generated from that. When using contract-first, you start with the WSDL contract, and use Java to implement said contract.<br />
<br />
For more info <a href="http://static.springsource.org/spring-ws/site/reference/html/why-contract-first.html" target="_blank">Click Here</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to prevent clone the singleton object ?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=259</link>
			<pubDate>Fri, 29 Jul 2011 03:48:36 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=259</guid>
			<description><![CDATA[In Singleton Class, we need to override the Object’s clone method which throws a CloneNotSupportedException exception.<br />
<br />
public Object clone() throws CloneNotSupportedException {<br />
throw new CloneNotSupportedException(); <br />
}]]></description>
			<content:encoded><![CDATA[In Singleton Class, we need to override the Object’s clone method which throws a CloneNotSupportedException exception.<br />
<br />
public Object clone() throws CloneNotSupportedException {<br />
throw new CloneNotSupportedException(); <br />
}]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[can we access hibernate pojo class in jsp page?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=258</link>
			<pubDate>Fri, 29 Jul 2011 03:38:12 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=258</guid>
			<description><![CDATA[By deploying the Hibernate archive, we have created a fully configured SessionFactory for use in other parts of our application. In this example, we have created a simple JSP which creates a Session from the SessionFactory and issues a query directly. Normally it would be preferable to put the Hibernate access code in a servlet or in a session bean, but for example purposes we'll keep the code together in the JSP. For reference, the following code fragment shows how we are accessing the Hibernate session in the JSP. <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>InitialContext ctx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= new InitialContext();<br />
SessionFactory factory&nbsp;&nbsp;= (SessionFactory)<br />
ctx.lookup("java:/hibernate/SessionFactory");<br />
Session&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hsession = factory.openSession();<br />
try {<br />
&nbsp;&nbsp;&nbsp;&nbsp;Query query = hsession.createQuery("from org.jboss.roster.Player order by name");<br />
&nbsp;&nbsp;&nbsp;&nbsp;request.setAttribute("players", query.list());<br />
} finally {<br />
&nbsp;&nbsp;&nbsp;&nbsp;hsession.close();<br />
}</code></div></div>
]]></description>
			<content:encoded><![CDATA[By deploying the Hibernate archive, we have created a fully configured SessionFactory for use in other parts of our application. In this example, we have created a simple JSP which creates a Session from the SessionFactory and issues a query directly. Normally it would be preferable to put the Hibernate access code in a servlet or in a session bean, but for example purposes we'll keep the code together in the JSP. For reference, the following code fragment shows how we are accessing the Hibernate session in the JSP. <br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>InitialContext ctx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= new InitialContext();<br />
SessionFactory factory&nbsp;&nbsp;= (SessionFactory)<br />
ctx.lookup("java:/hibernate/SessionFactory");<br />
Session&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hsession = factory.openSession();<br />
try {<br />
&nbsp;&nbsp;&nbsp;&nbsp;Query query = hsession.createQuery("from org.jboss.roster.Player order by name");<br />
&nbsp;&nbsp;&nbsp;&nbsp;request.setAttribute("players", query.list());<br />
} finally {<br />
&nbsp;&nbsp;&nbsp;&nbsp;hsession.close();<br />
}</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to find the Printer Name by Java Code?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=257</link>
			<pubDate>Thu, 21 Jul 2011 23:40:09 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=257</guid>
			<description><![CDATA[How to find the Printer Name by Java Code?]]></description>
			<content:encoded><![CDATA[How to find the Printer Name by Java Code?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[can we set the propety value using properties file into spring configuration file?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=256</link>
			<pubDate>Sun, 03 Apr 2011 23:30:53 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=256</guid>
			<description><![CDATA[can we set the propety value using properties file into spring configuration file?]]></description>
			<content:encoded><![CDATA[can we set the propety value using properties file into spring configuration file?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Can we configure bean propeties in two xml file for single bean?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=255</link>
			<pubDate>Sun, 03 Apr 2011 23:27:01 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=255</guid>
			<description><![CDATA[Can we configure bean propeties in two xml file for single bean?]]></description>
			<content:encoded><![CDATA[Can we configure bean propeties in two xml file for single bean?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to get bean instance using ApplicatoonContext?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=254</link>
			<pubDate>Sun, 03 Apr 2011 23:25:42 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=254</guid>
			<description><![CDATA[package com.muru;<br />
<br />
import java.io.PrintStream;<br />
import org.springframework.context.ApplicationContext;<br />
import org.springframework.context.support.ClassPathXmlApplicationContext;<br />
<br />
// Referenced classes of package com.muru:<br />
//            Test<br />
<br />
public class UsingApplicationFactory<br />
{<br />
<br />
    public UsingApplicationFactory()<br />
    {<br />
    }<br />
<br />
    public static void main(String args[&#93;)<br />
    {<br />
        ApplicationContext ac = new ClassPathXmlApplicationContext("beans.xml");<br />
        Test b = (Test)ac.getBean("com.muru.Test");<br />
        System.out.println(b.getName());<br />
    }<br />
}]]></description>
			<content:encoded><![CDATA[package com.muru;<br />
<br />
import java.io.PrintStream;<br />
import org.springframework.context.ApplicationContext;<br />
import org.springframework.context.support.ClassPathXmlApplicationContext;<br />
<br />
// Referenced classes of package com.muru:<br />
//            Test<br />
<br />
public class UsingApplicationFactory<br />
{<br />
<br />
    public UsingApplicationFactory()<br />
    {<br />
    }<br />
<br />
    public static void main(String args[])<br />
    {<br />
        ApplicationContext ac = new ClassPathXmlApplicationContext("beans.xml");<br />
        Test b = (Test)ac.getBean("com.muru.Test");<br />
        System.out.println(b.getName());<br />
    }<br />
}]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to get bean instance using BeanFactory?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=253</link>
			<pubDate>Sun, 03 Apr 2011 23:21:23 -0700</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=253</guid>
			<description><![CDATA[How to get bean instance using BeanFactory]]></description>
			<content:encoded><![CDATA[How to get bean instance using BeanFactory]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[how to print a particular page area through javascript?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=252</link>
			<pubDate>Mon, 08 Dec 2008 04:52:34 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=252</guid>
			<description><![CDATA[Here you go:<br />
<br />
On the page that contains your printable content:<br />
<br />
&lt;DIV id="print_area"&gt; <br />
<br />
printable content goes here...<br />
<br />
&lt;/DIV&gt;<br />
<br />
<br />
On the same page, a link to print version (child window):<br />
&lt;a href="j<strong></strong>window.open('print_version.htm');"&gt;Print Version&lt;/a&gt;<br />
<br />
<br />
Now, the print_version.htm code:<br />
<br />
&lt;html&gt;&lt;head&gt;<br />
&lt;title&gt;Print Version&lt;/title&gt;<br />
&lt;style&gt;<br />
   @page {size: 8.5in 11in; margin: 1in;}<br />
   TABLE.page {width: 6.5in;}<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
<br />
&lt;body o<strong></strong>nLoad="this.focus(),window.print();"&gt;<br />
&lt;table class="page"&gt;<br />
    &lt;tr&gt;&lt;td&gt;&lt;script&gt;document.write(window.opener.print_area.innerHTML);&lt;/script&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;]]></description>
			<content:encoded><![CDATA[Here you go:<br />
<br />
On the page that contains your printable content:<br />
<br />
&lt;DIV id="print_area"&gt; <br />
<br />
printable content goes here...<br />
<br />
&lt;/DIV&gt;<br />
<br />
<br />
On the same page, a link to print version (child window):<br />
&lt;a href="j<strong></strong>window.open('print_version.htm');"&gt;Print Version&lt;/a&gt;<br />
<br />
<br />
Now, the print_version.htm code:<br />
<br />
&lt;html&gt;&lt;head&gt;<br />
&lt;title&gt;Print Version&lt;/title&gt;<br />
&lt;style&gt;<br />
   @page {size: 8.5in 11in; margin: 1in;}<br />
   TABLE.page {width: 6.5in;}<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
<br />
&lt;body o<strong></strong>nLoad="this.focus(),window.print();"&gt;<br />
&lt;table class="page"&gt;<br />
    &lt;tr&gt;&lt;td&gt;&lt;script&gt;document.write(window.opener.print_area.innerHTML);&lt;/script&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[which is best HQL or SQL in hibernate?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=251</link>
			<pubDate>Wed, 03 Dec 2008 02:36:13 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=251</guid>
			<description><![CDATA[They look similar syntax-wise (both have select clauses, from clauses, where clauses, etc.)<br />
But they are really quite different. SQL is table-oriented, but HQL is object-oriented.<br />
<br />
<span style="font-weight: bold;">My Opinion :</span><br />
<br />
If a person wants to choose between learning SQL, HQL or ?QL..., preference is learn SQL.<br />
<span style="font-weight: bold;">Advantages of SQL:</span><br />
a) Testing &amp; Optimizing the SQL is easy.<br />
b) Developer has more control on the code i.e. SQL &amp; constructing objects out of the result set.<br />
c) DB Specific optimizations can also be done on SQL, in which case your SQL gets tied up with the specific database, anyway, follow the DAO design pattern to overcome this.<br />
<br />
<span style="font-weight: bold;">Disadvantages of HQL/?QL etc :</span><br />
a) Debugging is quite difficult, although we have options to view the query generated during runtime, still...the alias used etc..is not convincing<br />
b) Obtaining exactly what we want is sometimes difficult, the tool will try to fetch other unnecessary data too<br />
c) Developer has no control on how the objects are created from the result set or even the query itself.<br />
d) And this is yet another learning curve, with limited scope.<br />
<br />
In my projects where I am expected to use hibernate, I use hibernate only for persisting data, wherever I want to fetch data, I use SQL queries, and reflectively construct objects which I find more interesting as well as provided good performance.<br />
<br />
For more info : <a href="http://i-proving.ca/space/Technologies/Hibernate/SQL+vs+HQL+with+the+Session+Cache" target="_blank">http://i-proving.ca/space/Technologies/H...sion+Cache</a>]]></description>
			<content:encoded><![CDATA[They look similar syntax-wise (both have select clauses, from clauses, where clauses, etc.)<br />
But they are really quite different. SQL is table-oriented, but HQL is object-oriented.<br />
<br />
<span style="font-weight: bold;">My Opinion :</span><br />
<br />
If a person wants to choose between learning SQL, HQL or ?QL..., preference is learn SQL.<br />
<span style="font-weight: bold;">Advantages of SQL:</span><br />
a) Testing &amp; Optimizing the SQL is easy.<br />
b) Developer has more control on the code i.e. SQL &amp; constructing objects out of the result set.<br />
c) DB Specific optimizations can also be done on SQL, in which case your SQL gets tied up with the specific database, anyway, follow the DAO design pattern to overcome this.<br />
<br />
<span style="font-weight: bold;">Disadvantages of HQL/?QL etc :</span><br />
a) Debugging is quite difficult, although we have options to view the query generated during runtime, still...the alias used etc..is not convincing<br />
b) Obtaining exactly what we want is sometimes difficult, the tool will try to fetch other unnecessary data too<br />
c) Developer has no control on how the objects are created from the result set or even the query itself.<br />
d) And this is yet another learning curve, with limited scope.<br />
<br />
In my projects where I am expected to use hibernate, I use hibernate only for persisting data, wherever I want to fetch data, I use SQL queries, and reflectively construct objects which I find more interesting as well as provided good performance.<br />
<br />
For more info : <a href="http://i-proving.ca/space/Technologies/Hibernate/SQL+vs+HQL+with+the+Session+Cache" target="_blank">http://i-proving.ca/space/Technologies/H...sion+Cache</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[1.	We cannot use more than one sessionfactory in a single hibernate.cfg.xml]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=250</link>
			<pubDate>Wed, 03 Dec 2008 02:35:22 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=250</guid>
			<description><![CDATA[We cannot use more than one sessionfactory in a single hibernate.cfg.xml like as below<br />
<br />
&lt;?xml version='1.0' encoding='UTF-8'?&gt;<br />
&lt;!DOCTYPE hibernate-configuration PUBLIC<br />
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"<br />
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;<br />
<br />
&lt;hibernate-configuration&gt;<br />
	&lt;session-factory name="monitor"&gt;<br />
	.<br />
	.<br />
	&lt;/session-factory&gt;<br />
<br />
	&lt;session-factory name="horse"&gt;<br />
	.<br />
	.<br />
	&lt;/session-factory&gt; <br />
&lt;/hibernate-configuration&gt;<br />
<br />
<br />
Or<br />
<br />
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />
&lt;!DOCTYPE hibernate-configuration PUBLIC<br />
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"<br />
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;<br />
&lt;hibernate-configuration&gt;<br />
	&lt;session-factory&gt;<br />
		.<br />
		.<br />
	&lt;/session-factory&gt;<br />
	<br />
&lt;/hibernate-configuration&gt;<br />
<br />
&lt;hibernate-configuration&gt;<br />
	&lt;session-factory&gt;<br />
		.<br />
		.<br />
<br />
	&lt;/session-factory&gt;<br />
	<br />
&lt;/hibernate-configuration&gt;]]></description>
			<content:encoded><![CDATA[We cannot use more than one sessionfactory in a single hibernate.cfg.xml like as below<br />
<br />
&lt;?xml version='1.0' encoding='UTF-8'?&gt;<br />
&lt;!DOCTYPE hibernate-configuration PUBLIC<br />
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"<br />
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;<br />
<br />
&lt;hibernate-configuration&gt;<br />
	&lt;session-factory name="monitor"&gt;<br />
	.<br />
	.<br />
	&lt;/session-factory&gt;<br />
<br />
	&lt;session-factory name="horse"&gt;<br />
	.<br />
	.<br />
	&lt;/session-factory&gt; <br />
&lt;/hibernate-configuration&gt;<br />
<br />
<br />
Or<br />
<br />
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />
&lt;!DOCTYPE hibernate-configuration PUBLIC<br />
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"<br />
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;<br />
&lt;hibernate-configuration&gt;<br />
	&lt;session-factory&gt;<br />
		.<br />
		.<br />
	&lt;/session-factory&gt;<br />
	<br />
&lt;/hibernate-configuration&gt;<br />
<br />
&lt;hibernate-configuration&gt;<br />
	&lt;session-factory&gt;<br />
		.<br />
		.<br />
<br />
	&lt;/session-factory&gt;<br />
	<br />
&lt;/hibernate-configuration&gt;]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[how to activate data beans in JSP pages?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=249</link>
			<pubDate>Wed, 03 Dec 2008 00:18:10 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=249</guid>
			<description><![CDATA[A data bean is a Java bean that is used within a JSP page to provide dynamic content. A data bean normally provides a simple representation of a WebSphere Commerce entity bean. The data bean encapsulates properties that can be retrieved from or set within the entity bean. As such, the data bean simplifies the task of incorporating dynamic data into JSP pages.<br />
<br />
A data bean is activated in one of the following ways:<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;">by means of the wcbase:useBean tag (recommended)</span></span><br />
&lt;%@ taglib uri="http://commerce.ibm.com/base" prefix="wcbase" %&gt;<br />
&lt;wcbase:useBean <br />
	id="storeAttrValueBean" 				classname="com.stockmann.hobbyhall.data.store.beans.StoreAttributeValueDataBean" &gt;<br />
	&lt;c:set value="&#36;{parameterValueId}" target="&#36;{storeAttrValueBean}" property="storeAttrValId" /&gt;<br />
&lt;/wcbase:useBean&gt;<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;">by means of the following call:</span></span><br />
com.ibm.commerce.beans.DataBeanManager.activate(data_bean, request, response)<br />
where data_bean is the data bean to be activated, request is an HTTPServletRequest object, and response is an HTTPServletResponse object.]]></description>
			<content:encoded><![CDATA[A data bean is a Java bean that is used within a JSP page to provide dynamic content. A data bean normally provides a simple representation of a WebSphere Commerce entity bean. The data bean encapsulates properties that can be retrieved from or set within the entity bean. As such, the data bean simplifies the task of incorporating dynamic data into JSP pages.<br />
<br />
A data bean is activated in one of the following ways:<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;">by means of the wcbase:useBean tag (recommended)</span></span><br />
&lt;%@ taglib uri="http://commerce.ibm.com/base" prefix="wcbase" %&gt;<br />
&lt;wcbase:useBean <br />
	id="storeAttrValueBean" 				classname="com.stockmann.hobbyhall.data.store.beans.StoreAttributeValueDataBean" &gt;<br />
	&lt;c:set value="&#36;{parameterValueId}" target="&#36;{storeAttrValueBean}" property="storeAttrValId" /&gt;<br />
&lt;/wcbase:useBean&gt;<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;">by means of the following call:</span></span><br />
com.ibm.commerce.beans.DataBeanManager.activate(data_bean, request, response)<br />
where data_bean is the data bean to be activated, request is an HTTPServletRequest object, and response is an HTTPServletResponse object.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[WebSphere Commerce commands?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=248</link>
			<pubDate>Wed, 03 Dec 2008 00:16:15 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=248</guid>
			<description><![CDATA[<span style="font-weight: bold;">Controller commands</span><br />
These implement business tasks such as user registration and allocation of inventory. Use these to implement high-level process logic for the business task.<br />
<br />
<span style="font-weight: bold;">Task commands</span><br />
These implement discrete pieces of a business task such as address verification or ensuring passwords comply to the defined password policies. For example, during executing of the Registration controller command a callout may be made to a task command to validate the address entered.<br />
<br />
<span style="font-weight: bold;">View commands</span> :  Deprecated]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;">Controller commands</span><br />
These implement business tasks such as user registration and allocation of inventory. Use these to implement high-level process logic for the business task.<br />
<br />
<span style="font-weight: bold;">Task commands</span><br />
These implement discrete pieces of a business task such as address verification or ensuring passwords comply to the defined password policies. For example, during executing of the Registration controller command a callout may be made to a task command to validate the address entered.<br />
<br />
<span style="font-weight: bold;">View commands</span> :  Deprecated]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to activate the Data Bean?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=247</link>
			<pubDate>Wed, 03 Dec 2008 00:12:27 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=247</guid>
			<description><![CDATA[WebSphere Commerce data beans inserted into JSP pages allow for the inclusion of dynamic content in the page. The recommended way of activating the data beans within a JSP page is by means of the WebSphere Commerce useBean tag. Alternatively, the data bean manager can be used. Access control is enforced by invoking data beans using the data bean manager. <br />
<br />
The data bean manager activates the data bean so that its values are populated when the following line of code is inserted into the page:<br />
<br />
<span style="font-weight: bold;">com.ibm.commerce.beans.DataBeanManager.activate(data_bean, request, response)</span><br />
<br />
where data_bean is the data bean to be activated, request is an HTTPServletRequest object, and response is an HTTPServletResponse object]]></description>
			<content:encoded><![CDATA[WebSphere Commerce data beans inserted into JSP pages allow for the inclusion of dynamic content in the page. The recommended way of activating the data beans within a JSP page is by means of the WebSphere Commerce useBean tag. Alternatively, the data bean manager can be used. Access control is enforced by invoking data beans using the data bean manager. <br />
<br />
The data bean manager activates the data bean so that its values are populated when the following line of code is inserted into the page:<br />
<br />
<span style="font-weight: bold;">com.ibm.commerce.beans.DataBeanManager.activate(data_bean, request, response)</span><br />
<br />
where data_bean is the data bean to be activated, request is an HTTPServletRequest object, and response is an HTTPServletResponse object]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[What is adapter framework  in WCS?]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=246</link>
			<pubDate>Wed, 03 Dec 2008 00:10:24 -0800</pubDate>
			<dc:creator>mumbaimuru</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=246</guid>
			<description><![CDATA[<span style="font-weight: bold;">HTTP browser adapter</span><br />
The HTTP browser adapter provides support for requests to invoke WebSphere Commerce commands that are received from HTTP browsers.<br />
<br />
<span style="font-weight: bold;">HTTP PvC adapter</span><br />
This is an abstract adapter class that can be used to develop specific PvC device adapters. For example, if you needed to develop an adapter for a particular cellular phone application, you would extend from this adapter.<br />
<br />
<span style="font-weight: bold;">HTTP Program adapter</span><br />
The program adapter provides support for remote programs invoking WebSphere Commerce commands. The program adapter receives requests and uses a message mapper to convert the request into a CommandProperty object. After the conversion, the program adapter uses the CommandProperty object and executes the request.<br />
<br />
<span style="font-weight: bold;">If required, the adapter framework can be extended in the following two ways:</span><br />
•	Create an adapter for a specific PvC device (for example, create an HttpIModePVCAdapterImpl class to provide support for i-mode devices). An adapter of this type must extend the AbstractHttpPVCAdapter class.<br />
•	Create a new adapter that connects to a new protocol listener. This new adapter must implement the DeviceFormatAdapter interface.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;">HTTP browser adapter</span><br />
The HTTP browser adapter provides support for requests to invoke WebSphere Commerce commands that are received from HTTP browsers.<br />
<br />
<span style="font-weight: bold;">HTTP PvC adapter</span><br />
This is an abstract adapter class that can be used to develop specific PvC device adapters. For example, if you needed to develop an adapter for a particular cellular phone application, you would extend from this adapter.<br />
<br />
<span style="font-weight: bold;">HTTP Program adapter</span><br />
The program adapter provides support for remote programs invoking WebSphere Commerce commands. The program adapter receives requests and uses a message mapper to convert the request into a CommandProperty object. After the conversion, the program adapter uses the CommandProperty object and executes the request.<br />
<br />
<span style="font-weight: bold;">If required, the adapter framework can be extended in the following two ways:</span><br />
•	Create an adapter for a specific PvC device (for example, create an HttpIModePVCAdapterImpl class to provide support for i-mode devices). An adapter of this type must extend the AbstractHttpPVCAdapter class.<br />
•	Create a new adapter that connects to a new protocol listener. This new adapter must implement the DeviceFormatAdapter interface.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[basic questions for WCS]]></title>
			<link>http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=245</link>
			<pubDate>Tue, 02 Dec 2008 23:41:26 -0800</pubDate>
			<dc:creator>ashwin</dc:creator>
			<guid isPermaLink="false">http://www.murugesanpitchandi.com/muruforums/showthread.php?tid=245</guid>
			<description><![CDATA[The basic ones to start with for WCS developers are:-<br />
Q1) Functional architecture and Runtime architecture of WCS 6.0.<br />
<br />
Q2) Explain a flow that you have developed/customised in using WCS. (explain w.r.t. the runtime architecture. You could be asked either in B2C or B2B model whichever you have worked on.)<br />
<br />
Q3) Explain the Acceleretor framework. Explain in detal any customisations or development done in acceleretor using Notebook, Wizard, Dialogs, etc.<br />
<br />
Q4) Best practices for customising storefronts and accelretor modules.<br />
<br />
Q5) Best practices for extending the WCS database.<br />
<br />
Q6) Explain the different sub-systems in WCS.<br />
<br />
Q7) Exception handling in WCS.<br />
<br />
Q8) General questions regarding RAD.<br />
<br />
Q9) General questions regarding EJB and java and the way they fit in the WCS framework.]]></description>
			<content:encoded><![CDATA[The basic ones to start with for WCS developers are:-<br />
Q1) Functional architecture and Runtime architecture of WCS 6.0.<br />
<br />
Q2) Explain a flow that you have developed/customised in using WCS. (explain w.r.t. the runtime architecture. You could be asked either in B2C or B2B model whichever you have worked on.)<br />
<br />
Q3) Explain the Acceleretor framework. Explain in detal any customisations or development done in acceleretor using Notebook, Wizard, Dialogs, etc.<br />
<br />
Q4) Best practices for customising storefronts and accelretor modules.<br />
<br />
Q5) Best practices for extending the WCS database.<br />
<br />
Q6) Explain the different sub-systems in WCS.<br />
<br />
Q7) Exception handling in WCS.<br />
<br />
Q8) General questions regarding RAD.<br />
<br />
Q9) General questions regarding EJB and java and the way they fit in the WCS framework.]]></content:encoded>
		</item>
	</channel>
</rss>
