<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Tech Samosa</title>
	
	<link>http://techsamosa.com/blogs</link>
	<description>Comrades of the Tech world</description>
	<lastBuildDate>Thu, 16 May 2013 11:47:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/TechSamosa" /><feedburner:info uri="techsamosa" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>TechSamosa</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>jQuery Interview Questions</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/5PoHaX2F_dc/</link>
		<comments>http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/#comments</comments>
		<pubDate>Thu, 16 May 2013 11:47:14 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[javaScript]]></category>
		<category><![CDATA[interview questions]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=543</guid>
		<description><![CDATA[With rich internet applications (RIA) being deployed everywhere including enterprises, the related UI frameworks to build these applications are also in demand. Every framework provides something which is fresh in the market. These UI frameworks are javascript based, have support for Ajax, have cross browser support and are extensible. So when you are being screened [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2011/07/26/some-sql-tipsinterview-questions/' rel='bookmark' title='Some SQL tips/(interview) questions'>Some SQL tips/(interview) questions</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers/' rel='bookmark' title='Hibernate Interview Questions and Answers -Part &#8211; 1'>Hibernate Interview Questions and Answers -Part &#8211; 1</a></li>
<li><a href='http://techsamosa.com/blogs/2012/03/31/microsoft-dotnet-interview-questions-2012/' rel='bookmark' title='Microsoft DotNet Interview Questions 2012'>Microsoft DotNet Interview Questions 2012</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>With rich internet applications (RIA) being deployed everywhere including enterprises, the related UI frameworks to build these applications are also in demand. Every framework provides something which is fresh in the market.</p>
<p>These UI frameworks are javascript based, have support for Ajax, have cross browser support and are extensible. So when you are being screened for a requirement in the organization, the interviewer will try to judge you on various aspects of an application. Here in this article, I am listing few jQuery Interview Questions which are helpful to all developers and UI developers in particular.</p>
<p>1) What do you need to do in order to use jQuery in your project?<br />
Ans: We need to import the jQuery minified js and css files</p>
<p>2) What is the difference between normal and minimal version of .js files that are shipped with jQuery bundle?<br />
Ans: The minified version is useful in production system because it saves the bandwidth and decreases page loading speed.</p>
<p>3) Can one download and change the jQuery base code and use it? Did you every feel like changing the code base for something that was missing in the bundle? Under what scenarios will you consider modifying the jQuery code base?<br />
Ans: This should ideally never be required and we shall post the issue to jQuery library to the developer community.</p>
<p>4) Which version of jQuery have you worked on. What steps will you take to migrate your web application to the latest version of jQuery?<br />
Ans: There are different versions for jQuery Mobile and jQuery normal libraries and discuss the version you have been using.</p>
<p>5) What all features of jQuery have you used in your web projects?<br />
Ans: jQuery offers a lot of features like Accordian, Sliding menu, File upload etc.</p>
<p>6) Would you prefer using a feature available in jQuery than writing the same functionality using custom javascript and CSS?<br />
Ans: It is better to use the same feature using jQuery than writing custom css and js.</p>
<p>7) What all browser related issues you have faced with jQuery?<br />
Ans: Browser compatibility of jQuery plugins is an issue and needs lot of time and effort to fix.</p>
<p>8 ) What is the difference between javascript’s onload function invoked from HTML body tag like <body onload=”somefunction();”> and jQuery’s ready function?<br />
Ans: We can have multiple onload handlers in jQuery but not with body tag.</p>
<p>9) On what parameters will you judge a jQuery plugin before using it in your application?<br />
Ans:<br />
1) Browser compatibility.<br />
2) Performance.<br />
3) Ease of use.</p>
<p>10) What all techniques have you been using in order to increase the performance of a web application developed using jQuery?<br />
Ans: Try not add too many event handlers on load event. Use proper element selectors.</p>
<p>11) Given the option to decide on a Javascript framework for a JEE based web application, what other frameworks will you consider before making a choice?<br />
Ans: There are many other food javascript frameworks including prototype, dojo and YUI.<br />
Note: You may also want to browse through our dojo tutorial series.</p>
<p>12) What all jQuery plugins have you used? Explain them?</p>
<p>13) Can you write the code to send an Ajax request to a JSP page?<br />
Ans: One can use $.POST() and $.GET() to issue Ajax requests in web applications.</p>
<p>14) Have you used overlay effect of jQuery? What configuration settings are available for creating the overlay effect?</p>
<p>15) Which jQuery editor do you use?<br />
Ans: While there could be multiple plugins for IDE that add jQuery support but you shouldn’t fail to mention the big names like Aptana Studio IDE and less known jsdt-jquery.</p>
<p>16) What are the ways by which I can include jQuery in my web pages? Which one is the best?<br />
Ans: We can download a out of the box development and production versions from jQuery website and use it in our applications. There is also an option to create a custom build where we can leave out unnecessary widgets and hence reduce the size of our JS file. If the web application is going to be hosted on the internet then we can refer to Content Delivery Networks (CDN) like Google code to make the browser download the script from Google servers and use it.</p>
<p>17) What is a selector?How many type of selectors are available?<br />
Ans: The selectors are used to select a single or group of elements before performing an operation on them. The following are the selectors available in jQuery:</p>
<p>1) Select elements by tag name — $(div)<br />
2) Select elements by ID — $(#xyzid”)<br />
3) Select elements by class — $(“.xyzclass”)</p>
<p>Out of the above, the most efficient is selecting element by ID as it translates to native Javascript call document.getElementById(“xyzid”);</p>
<p>18) How would you animate elements in jQuery?<br />
Ans: There is animate function available in jQuery API which can be used to perform animations as shown in the following code example:</p>
<p>The syntax of animate function is: $(selector).animate({params}, [duration], [easing], [callback])</p>
<p>param defines the CSS properties on which you want to apply the animation.<br />
duration specify how long the animation will run. It can be one of following<br />
values : whether the animattion is slow, fast or normal<br />
easing : is the string which specify the function for the transition.<br />
callback is the function which we want to run once the animation effect is complete.</p>
<p>Example:<br />
$(&#8216;# clickToAnimate’).click(function() {<br />
    $(&#8216;#book&#8217;).animate({<br />
        opacity: 0.30,<br />
        left: &#8216;+=20&#8242;,<br />
        height: &#8216;toggle&#8217;<br />
    }, 3000, function() {<br />
    // run after the animation complete.<br />
    });<br />
});</p>
<p>19) How would You disable or enable a form element?<br />
Ans: Elements can be disabled by using the following code samples:<br />
$(&#8216;#sampleid&#8217;).attr(&#8216;disabled&#8217;, true);<br />
$(&#8220;#sampleid&#8221;).attr(&#8216;disabled&#8217;, &#8216;disabled&#8217;);</p>
<p>20) How would you check or uncheck a checkbox input or radio button?<br />
Ans: Elements can be checked/unchecked by using the following code samples:</p>
<p>check</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/" data-text="jQuery Interview Questions"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;linkname=jQuery%20Interview%20Questions" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;linkname=jQuery%20Interview%20Questions" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;linkname=jQuery%20Interview%20Questions" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;linkname=jQuery%20Interview%20Questions" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;linkname=jQuery%20Interview%20Questions" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;linkname=jQuery%20Interview%20Questions" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fjquery-interview-questions%2F&amp;title=jQuery%20Interview%20Questions" id="wpa2a_2"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2011/07/26/some-sql-tipsinterview-questions/' rel='bookmark' title='Some SQL tips/(interview) questions'>Some SQL tips/(interview) questions</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers/' rel='bookmark' title='Hibernate Interview Questions and Answers -Part &#8211; 1'>Hibernate Interview Questions and Answers -Part &#8211; 1</a></li>
<li><a href='http://techsamosa.com/blogs/2012/03/31/microsoft-dotnet-interview-questions-2012/' rel='bookmark' title='Microsoft DotNet Interview Questions 2012'>Microsoft DotNet Interview Questions 2012</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/5PoHaX2F_dc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2013/05/16/jquery-interview-questions/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=jquery-interview-questions</feedburner:origLink></item>
		<item>
		<title>Hibernate Configuration Basics</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/lri0Bv7Xcjk/</link>
		<comments>http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/#comments</comments>
		<pubDate>Thu, 16 May 2013 11:44:35 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[hibernate]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=474</guid>
		<description><![CDATA[Configuration cfgn = new Configuration(); cfgn.addResource(“school/student.hbm.xml”); cfgn.setProperties(System.getProperties()); SessionFactory sfactory = cfgn.buildSessionFactory(); • The code snippet shows the programmatic way of creating a hibernate configuration. The mapping file &#8211; .hbm.xml file is usually created for each class and placed in its root directory. The path shown above is relative to the class path. • Hibernate can [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/06/08/what-is-session-factory-in-hibernate/' rel='bookmark' title='What is session factory in hibernate?'>What is session factory in hibernate?</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers/' rel='bookmark' title='Hibernate Interview Questions and Answers -Part &#8211; 1'>Hibernate Interview Questions and Answers -Part &#8211; 1</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers-part-2/' rel='bookmark' title='Hibernate Interview Questions and Answers &#8211; Part &#8211; 2'>Hibernate Interview Questions and Answers &#8211; Part &#8211; 2</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Configuration cfgn = new Configuration();<br />
cfgn.addResource(“school/student.hbm.xml”);<br />
cfgn.setProperties(System.getProperties());<br />
SessionFactory sfactory = cfgn.buildSessionFactory();</p>
<p>•	The code snippet shows the programmatic way of creating a hibernate configuration. The mapping file &#8211; .hbm.xml file is usually created for each class and placed in its root directory. The path shown above is relative to the class path.<br />
•	Hibernate can also be configured using the .properties file which must be placed directly in the class path.<br />
•	Another option is to create a hibernate.cfg.xml file which must be placed in the class path.</p>
<p>After creating the configuration, various other settings need to be taken care of like the JDBC connection details, context management, SQL dialect etc. one or more of the following methods can be used for the same.</p>
<p>•	Place
<property> elements in the configuration file – cfg.xml<br />
•	Create a file hibernate.properties. This must also be in the classpath<br />
•	Pass an instance of java.util.Properties to Configuration.setProperties()<br />
•	Hibernate can also be configured using the .properties file which must be placed directly in the class path.<br />
•	Another option is to create a hibernate.cfg.xml file which must be placed in the class path.<br />
How does it Work?</p>
<p>Creation of any Java based application involves storing data into a database object such as a table and retrieving it later for one or more purposes. Hibernate comes in handy by mapping the Java objects also known as “Persistent classes” to the database tables.</p>
<p>To explain how this mapping works, let’s consider a sample Student Class.<br />
Each instance of this class represents any individual student.<br />
Each student will be identified by various properties (attributes) like name, roll number, Department etc.<br />
On the other hand consider an oracle database with a Student table.<br />
Each row in this table represents any individual student.<br />
The student table has various columns like name, roll number, department etc.</p>
<p>So to generalise the mapping in its simplest format, we can say that -<br />
•	Each Java Class will be mapped to a table in the database.<br />
•	Each Instance of such class represents a row in the respective table.<br />
•	Each attribute of such Instance represents a column in the respective table for the corresponding row.</p>
<p>Sample Java Class &#8211; Student</p>
<p>package school;<br />
public class Student {</p>
<p>	private Long roll_id;<br />
	private String name;<br />
	private String dept;</p>
<p>	private Student() { } // No argument Constructor</p>
<p>	public Student(String name) {this.name = name; }<br />
	public Student(String name, String dept) {<br />
this.name = name;<br />
this.dept = dept;<br />
}</p>
<p>	// getter – setter methods for attributes</p>
<p>	public Long getRoll_id() { return roll_id;}<br />
	public void setRoll_id(Long roll_id) {this.roll_id = roll_id; }<br />
	public String getName() { return name;}<br />
public void setName(String name) { this.name = name;}<br />
	public String getDept() { return dept;}<br />
	public void setDept(string dept) {this.dept = dept;} }</p>
<p>The most important attribute in this Student class is the roll_Id because this will be our primary key in the student table.<br />
Please note that this student class does not implement any hibernate specific Interfaces; hence it can be used in any context like any other java class. </p>
<p>To allow this class to be made persistent so that it is usable by the hibernate framework, we need to provide a hibernate mapping XML.This file will be saved with a .hbm.xml extension.<br />
Sample Mapping Document</p>
<p><?xml version= “1.0”?><br />
<!DOCTYPE hibernate-mapping PUBLIC “-//Hibernate/Hibernate Mapping DTD 3.0//EN”  “http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd”></p>
<p><hibernate-mapping><br />
	<class name = “school.Student” table = “student”><br />
		<id name= “roll_id” column= “ROLL_NO” table = “student” type=”long”><br />
			<generator class = “increment” /><br />
</id></p>
<property name= “name” column= “NAME” table = “student” />
<property name= “dept” column= “DEPARTMENT”<br />
table = “student” /><br />
	</class><br />
</hibernate-mapping></p>
<p>Note:<br />
•	<generator> element is being used to generate a sequence (primary key of type long in this case)<br />
•	<class> element maps the Student class to the Student table<br />
•	<id> element identifies the primary key and maps roll_id of the Student class to “Roll_No” column of the student table.<br />
•
<property> element is used to map each attribute of the Student object to its corresponding column in the Student table.<br />
•	<type> is an element used to specify the data type for columns. This is to ensure that the type of database column and that of the java object property are relative.<br />
Create a new Student </p>
<p>Session session = getSessionFactory().openSession();<br />
Transaction trans = session.beginTransaction();<br />
Student student = new Student(“Alex”);<br />
session.save(student);<br />
trans.commit();<br />
session.close();</p>
<p>This code snippet results in execution of something similar to this SQL –<br />
Insert into Student (ROLL_NO, NAME, DEPT) values (1, ‘Alex’, null)</p>
<p>Update an existing Student details</p>
<p>Session session = getSessionFactory().openSession();<br />
Transaction trans = session.beginTransaction();<br />
Student student = (Student) session.load (Student.class, new long(1));<br />
Student.setDept(“Chemistry”);<br />
session.saveorUpdate(student);<br />
trans.commit();<br />
session.close();</p>
<p>Deleting an existing Student Detail</p>
<p>Session session = getSessionFactory().openSession();<br />
Transaction trans = session.beginTransaction();<br />
Student student = (Student) session.load (Student.class, new long(1));<br />
session.delete(student);<br />
trans.commit();<br />
session.close();</p>
<p>Hibernate is by far the most popular Object Relational Mapping (ORM) solution provided especially in the case of Java. Its beauty lies in its ease of use as compared to writing code for SQL/JDBC and its simplicity when paired against the all powerful EJB.</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/" data-text="Hibernate Configuration Basics"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;linkname=Hibernate%20Configuration%20Basics" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;linkname=Hibernate%20Configuration%20Basics" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;linkname=Hibernate%20Configuration%20Basics" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;linkname=Hibernate%20Configuration%20Basics" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;linkname=Hibernate%20Configuration%20Basics" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;linkname=Hibernate%20Configuration%20Basics" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F05%2F16%2Fhibernate-configuration-basics%2F&amp;title=Hibernate%20Configuration%20Basics" id="wpa2a_4"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/06/08/what-is-session-factory-in-hibernate/' rel='bookmark' title='What is session factory in hibernate?'>What is session factory in hibernate?</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers/' rel='bookmark' title='Hibernate Interview Questions and Answers -Part &#8211; 1'>Hibernate Interview Questions and Answers -Part &#8211; 1</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers-part-2/' rel='bookmark' title='Hibernate Interview Questions and Answers &#8211; Part &#8211; 2'>Hibernate Interview Questions and Answers &#8211; Part &#8211; 2</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/lri0Bv7Xcjk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2013/05/16/hibernate-configuration-basics/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=hibernate-configuration-basics</feedburner:origLink></item>
		<item>
		<title>New Features in JSF 2.0</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/Y7kc7UVIzTk/</link>
		<comments>http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/#comments</comments>
		<pubDate>Sun, 03 Feb 2013 06:01:50 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[JSF 2.0]]></category>
		<category><![CDATA[New]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=540</guid>
		<description><![CDATA[With many new features, JSF 2.0 is an evolution from 1.2, but it’s also a step forward—for example, in terms of PDL, where Facelets is preferred to JSP. New features of JSF 2.0 include the following: • An alternative viewing technology to JSP based on Facelets • Easier navigation between pages with implicit and conditional [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/06/05/struts-config-xml-how-it-works/' rel='bookmark' title='Struts-Config.xml  &#8211; how it works.'>Struts-Config.xml  &#8211; how it works.</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>With many new features, JSF 2.0 is an evolution from 1.2, but it’s also a step forward—for example, in<br />
terms of PDL, where Facelets is preferred to JSP. New features of JSF 2.0 include the following:</p>
<p>• An alternative viewing technology to JSP based on Facelets</p>
<p>• Easier navigation between pages with implicit and conditional navigation</p>
<p>• JSF has been using POST HTTP requests intensively; this new release brings back GET requests as a first-class citizen (allowing users to bookmark pages)<br />
• A new resource-handling mechanism (for images, CSS, JavaScript files, and so on)</p>
<p>• Additional scopes (view scope, flash and component scope)</p>
<p>• Easy development with annotations for managed beans, renderers, converters,validators, and so on.</p>
<p>• Reducing XML configuration by exploiting annotations and configuration by exception (faces-config.xml is optional)</p>
<p>• Ajax support</p>
<p>• Better error handling (provides information such as line numbers and not just a stack trace)</p>
<p>• Easy component development</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/" data-text="New Features in JSF 2.0"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;linkname=New%20Features%20in%20JSF%202.0" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;linkname=New%20Features%20in%20JSF%202.0" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;linkname=New%20Features%20in%20JSF%202.0" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;linkname=New%20Features%20in%20JSF%202.0" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;linkname=New%20Features%20in%20JSF%202.0" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;linkname=New%20Features%20in%20JSF%202.0" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2013%2F02%2F03%2Fnew-features-in-jsf-2-0%2F&amp;title=New%20Features%20in%20JSF%202.0" id="wpa2a_6"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/06/05/struts-config-xml-how-it-works/' rel='bookmark' title='Struts-Config.xml  &#8211; how it works.'>Struts-Config.xml  &#8211; how it works.</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/Y7kc7UVIzTk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2013/02/03/new-features-in-jsf-2-0/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-features-in-jsf-2-0</feedburner:origLink></item>
		<item>
		<title>Book Review : KnockoutJS Starter</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/QS0UAuL0Jx4/</link>
		<comments>http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/#comments</comments>
		<pubDate>Wed, 12 Dec 2012 06:11:31 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[Generic]]></category>
		<category><![CDATA[javaScript]]></category>
		<category><![CDATA[Book Review : KnockoutJS Starter]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=537</guid>
		<description><![CDATA[The folks at Packt asked me to review one of their book on KnockOut Js If you are interested in buying it (a judgment you may reserve until after you have read the review) “http://www.packtpub.com/knockoutjs-starter/book” this is link you can go. Eric Barnard is a Software Engineer in Champaign-Urbana, Illinois. You can find his blog [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/05/12/book-review-ext-js-4-first-look/' rel='bookmark' title='Book Review : Ext JS 4 First Look'>Book Review : Ext JS 4 First Look</a></li>
<li><a href='http://techsamosa.com/blogs/2011/07/26/what-is-mvvm-pattern-in-wpf/' rel='bookmark' title='What is MVVM pattern in WPF'>What is MVVM pattern in WPF</a></li>
<li><a href='http://techsamosa.com/blogs/2012/05/20/mvc-architecture-concept/' rel='bookmark' title='What is MVC (Model-View-controller) architecture in Java'>What is MVC (Model-View-controller) architecture in Java</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>The folks at Packt asked me to review one of their book on KnockOut Js If you are interested in buying it (a judgment you may reserve until after you have read the review)<br />
“http://www.packtpub.com/knockoutjs-starter/book” this is link you can go.</p>
<p><a href="http://techsamosa.com/blogs/?attachment_id=2138" rel="attachment wp-att-2138"><img src="http://www.techartifact.com/blogs/wp-content/uploads/2012/12/1141OS_KnockoutJS-Starter-Guide_Micro_cov2.jpg" alt="" title="1141OS_KnockoutJS Starter Guide_Micro_cov(2)" width="500" height="617" class="aligncenter size-full wp-image-2138" /></a></p>
<p>Eric Barnard is a Software Engineer in Champaign-Urbana, Illinois. You can find his blog at http://www.ericbarnard.com</p>
<p>The Packt model is an interesting one. They are an online publishing house who approach subject matter experts and offer them an advance and a good commission for writing a book for them. They have approached me a couple of times but I have turned them down on both occasions simply due to a lack of time. Given the movement towards e-readers and related devices I believe it is a business model most publishers will eventually adopt.<br />
Overview and Structure of the Book</p>
<p>The first thing you will probably notice is the size of the document. This is no brief summary of the new features. This is small book of over 40 pages covering to learn a new java script librart with a full index in the back. The structure of the book is:</p>
<p><strong>Business overview<br />
Step 1 – Defining a namespace<br />
Step 2 – Creating our Model<br />
Step 3 – Creating a View for our Model<br />
Step 4 – Creating a ViewModel to manage our Models<br />
Step 5 – Working with Observable Arrays<br />
Step 6 – Adding and removing Models from an Observable Array<br />
Step 7 – Editing properties of a Model<br />
Step 8 – Setting up a Master-Details view<br />
Step 9 – Applying bindings</strong></p>
<p>• There are some key features as well like MVVM model and other important features of KnockOut JS</p>
<p>I like this structure as it parallels the steps one would take in setting up a KnockOut JS. To add a bit of a flow to the book, they also put it in the examples,real life scenarios.</p>
<p>What is missing is – This book is not covering the detailed code description.Although it have how to install this library.Creating a demo application.How to start creating site, MVVM library. </p>
<p>Its more a starter book.This book focuses on giving the reader a firm understanding of the core concepts of Knockout, such as MVVM and data binding,<br />
and works through real-life app development scenarios. All core components of Knockout’s amazing library are covered in detail, and strategies are outlined for getting the best use of time when developing with Knockout .</p>
<p><strong>Knockout – A JavaScript library</strong><br />
Knockout, at its core, is a simple JavaScript file that can be included in a website or a web application to add JavaScript functionality, and provides the ability to enhance a user&#8217;s experience. By default, Knockout does nothing to your website or web application until you specifically write code to utilize it. It is important to understand the difference between Knockout and many other JavaScript &#8220;frameworks&#8221; or &#8220;libraries&#8221; as some frameworks actually change how a website or web application works when included.</p>
<p>The difference between this library and other java script library is as below :</p>
<p><strong>Subscribables </strong>- It give an edge of catching subscriber and receiver event.A Subscribable is simply an object that has three methods and an array of Subscriptions.</p>
<p><strong>Observables</strong> -The Knockout Observable is one of the first objects that leverages the Subscribable functionality, and is one of the most simple, yet powerful pieces of the Knockout library.</p>
<p><strong>Observable Arrays</strong> &#8211; There are multiple value of observable .</p>
<p><strong>Computed Observables</strong>-Computed Observables are arguably the most powerful feature of Knockout. You may have noticed that creating a ViewModel with nothing but Observables and Observable Arrays is a huge step up from plain JavaScript, but it would be really nice to have other properties on your<br />
ViewModel that simply depended upon other Observables and Observable Arrays and updated themselves when their dependencies change.</p>
<p><strong>Utilities</strong> -Knockout is full of many useful utilities that you can use in your application development.You can find these by exploring the<br />
 ko.utils namespace.One of utility is extend.</p>
<p><strong>Data-bind statement</strong>s &#8211; Knockout was designed to make binding JavaScript objects and HTML extremely easy. The API that is given to us to use is through the HTML5 compliant data-bind statement.</p>
<p><strong>Applying bindings</strong> &#8211; This is key feature of knockOut JS.Book describer it very well with example.Many examples show the applyBindings function being called with a ViewModel object being passed in as the only argument, but you can also specify a DOM node as the second argument.<br />
When passing a DOM node as the second argument, Knockout only binds your ViewModel to that node and its children.</p>
<p><strong>Conclusions</strong><br />
This book is not a comprehensive guide to the learn knockout JS. Rather, it is It presents a Starter guide to learn and work on KnockOut JS. It descrive MVVM model with detailed description.Worth of reading. </p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/" data-text="Book Review : KnockoutJS Starter"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;linkname=Book%20Review%20%3A%20KnockoutJS%20Starter" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;linkname=Book%20Review%20%3A%20KnockoutJS%20Starter" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;linkname=Book%20Review%20%3A%20KnockoutJS%20Starter" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;linkname=Book%20Review%20%3A%20KnockoutJS%20Starter" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;linkname=Book%20Review%20%3A%20KnockoutJS%20Starter" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;linkname=Book%20Review%20%3A%20KnockoutJS%20Starter" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F12%2Fbook-review-knockoutjs-starter%2F&amp;title=Book%20Review%20%3A%20KnockoutJS%20Starter" id="wpa2a_8"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/05/12/book-review-ext-js-4-first-look/' rel='bookmark' title='Book Review : Ext JS 4 First Look'>Book Review : Ext JS 4 First Look</a></li>
<li><a href='http://techsamosa.com/blogs/2011/07/26/what-is-mvvm-pattern-in-wpf/' rel='bookmark' title='What is MVVM pattern in WPF'>What is MVVM pattern in WPF</a></li>
<li><a href='http://techsamosa.com/blogs/2012/05/20/mvc-architecture-concept/' rel='bookmark' title='What is MVC (Model-View-controller) architecture in Java'>What is MVC (Model-View-controller) architecture in Java</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/QS0UAuL0Jx4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/12/12/book-review-knockoutjs-starter/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=book-review-knockoutjs-starter</feedburner:origLink></item>
		<item>
		<title>Minimizing the memory leak in your java j2ee application</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/2OcPqRp7bGA/</link>
		<comments>http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 09:32:07 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[applications]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Leaks]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[Minimizing]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=535</guid>
		<description><![CDATA[Java’s memory managmement (i.e Garbage collectionGarbage collection -how it works) prevents lost references and dangling references but it is still possibilities to create memory leaks in other ways. If the application run with memory leaks for long duration ,you will get the error java.lang.OutOfMemoryError. In java ,typically the memory leak occur when an object of [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/' rel='bookmark' title='Different Hibernate object states and their lifecycle in Hibernate'>Different Hibernate object states and their lifecycle in Hibernate</a></li>
<li><a href='http://techsamosa.com/blogs/2012/06/24/how-garbage-collector-works-in-java/' rel='bookmark' title='How Garbage collector works in Java'>How Garbage collector works in Java</a></li>
<li><a href='http://techsamosa.com/blogs/2012/07/23/best-way-to-create-a-string-in-java/' rel='bookmark' title='Best way to create a String in Java'>Best way to create a String in Java</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Java’s memory managmement (i.e Garbage collectionGarbage collection -how it works) prevents lost references and dangling references but it is still possibilities to create memory leaks in other ways. If the application run with memory leaks for long duration ,you will get the error java.lang.OutOfMemoryError.<br />
In java ,typically the memory leak occur when an object of a longer lifecycle has references to the objects of a short life cycle. This prevents the<br />
object with short life cycle being garbage collected. The developer must remember to remove the references to the short lived object from the long-lived objects.Objects with same life cycle do not cause any problem because the garbage collector is smart enough to deal with the circular references.<br />
-> Java collection class like HashTable, ArrayList etc maintain references to other objects.So having a long life cycle ArrayList pointing to many . . short-lifecyle objects can cause memory leaks.<br />
-> Commonly used singleton Design pattern can cause memory leaks.Singleton typically have a long lifecycle. If a singleton has an arrayList or a HashTable then there is potential for memory leaks.<br />
-> Java Programming language includes a finalize method that allows an object to free system resources ,in other words to clean up after itself. However using finalize doesn’t guarantee that a class will clean up resources expediently. A better approach for cleaning up resources involves the finally method and an explicit close statement.so freeing up the valuable resources in the finalize method or try {} block instead of finally() block can cause memory leaks.</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/" data-text="Minimizing the memory leak in your java j2ee application"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;linkname=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;linkname=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;linkname=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;linkname=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;linkname=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;linkname=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fminimizing-the-memory-leak-in-your-java-j2ee-application%2F&amp;title=Minimizing%20the%20memory%20leak%20in%20your%20java%20j2ee%20application" id="wpa2a_10"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/' rel='bookmark' title='Different Hibernate object states and their lifecycle in Hibernate'>Different Hibernate object states and their lifecycle in Hibernate</a></li>
<li><a href='http://techsamosa.com/blogs/2012/06/24/how-garbage-collector-works-in-java/' rel='bookmark' title='How Garbage collector works in Java'>How Garbage collector works in Java</a></li>
<li><a href='http://techsamosa.com/blogs/2012/07/23/best-way-to-create-a-string-in-java/' rel='bookmark' title='Best way to create a String in Java'>Best way to create a String in Java</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/2OcPqRp7bGA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/12/10/minimizing-the-memory-leak-in-your-java-j2ee-application/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=minimizing-the-memory-leak-in-your-java-j2ee-application</feedburner:origLink></item>
		<item>
		<title>Difference between HashSet and TreeSet in java</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/Y21cUNzQ7fo/</link>
		<comments>http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 09:30:28 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Difference]]></category>
		<category><![CDATA[HashSe]]></category>
		<category><![CDATA[reeSet]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=533</guid>
		<description><![CDATA[HashSet: - Class offers constant time performance for the basic operations (add, remove, contains and size). - It does not guarantee that the order of elements will remain constant over time - Iteration performance depends on the initial capacity and the load factor of the HashSet. - It’s quite safe to accept default load factor [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/06/29/difference-between-comparable-interface-and-comparator-interface-in-java/' rel='bookmark' title='Difference between comparable interface and comparator interface in Java'>Difference between comparable interface and comparator interface in Java</a></li>
<li><a href='http://techsamosa.com/blogs/2012/06/24/how-garbage-collector-works-in-java/' rel='bookmark' title='How Garbage collector works in Java'>How Garbage collector works in Java</a></li>
<li><a href='http://techsamosa.com/blogs/2011/08/20/sorting-an-list-of-objects-in-java/' rel='bookmark' title='Sorting an List of objects in Java'>Sorting an List of objects in Java</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p><strong>HashSet:</strong></p>
<p>- Class offers constant time performance for the basic operations (add, remove, contains and size).<br />
- It does not guarantee that the order of elements will remain constant over time<br />
- Iteration performance depends on the initial capacity and the load factor of the HashSet.<br />
- It’s quite safe to accept default load factor but you may want to specify an initial capacity that’s about twice the size to which you expect the set to grow.<br />
- The underlying data structure is Hashtable<br />
- Heterogeneous objects are allowed<br />
- Insertion order is not preserved and it is based on hashcode of the objects.<br />
- null insertion is possible.</p>
<p><strong>TreeSet:</strong></p>
<p>- TreeSet class has a member reference variable of type NavigableMap. In fact, TreeSet make use of unique key property of Map’s to ensure no duplicate elements. There is a dummy value used for this instance member variable .<br />
-The underlying data structure is balanced tree.<br />
- Guarantees log(n) time cost for the basic operations (add, remove and contains)<br />
- Heterogeneous objects are not allowed by defalut.<br />
- Insertion order is not preserved and all the objects are inserted according to some sorting order.<br />
- As the first element only null insertion is possible and in all other cases we will get NullPointerException (After null insertion other insertion not possible)<br />
- Guarantees that elements of set will be sorted (ascending, natural, or the one specified by you via it’s constructor)<br />
- Doesn’t offer any tuning parameters for iteration performance<br />
- Offers a few handy methods to deal with the ordered set like first(), last(), headSet(), and tailSet() etc<br />
- we can construct a constructor your own rules for what the order should be using a comparable or comparator.<br />
The TreeSet implementations useful when you need to extract elements from a collection in a sorted manner. It is generally faster to add elements to the HasSet then convert the collection to a TreeeSet for sorted traversal.<br />
To optimize HashSet space usage , you can tune initial capacity and load factor. TreeSet has no tuning options, as the tree is always balanced, ensuring log(n0 performance for insertions, deletions and queries.</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/" data-text="Difference between HashSet and TreeSet in java"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;linkname=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;linkname=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;linkname=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;linkname=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;linkname=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;linkname=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifference-between-hashset-and-treeset-in-java%2F&amp;title=Difference%20between%20HashSet%20and%20TreeSet%20in%20java" id="wpa2a_12"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/06/29/difference-between-comparable-interface-and-comparator-interface-in-java/' rel='bookmark' title='Difference between comparable interface and comparator interface in Java'>Difference between comparable interface and comparator interface in Java</a></li>
<li><a href='http://techsamosa.com/blogs/2012/06/24/how-garbage-collector-works-in-java/' rel='bookmark' title='How Garbage collector works in Java'>How Garbage collector works in Java</a></li>
<li><a href='http://techsamosa.com/blogs/2011/08/20/sorting-an-list-of-objects-in-java/' rel='bookmark' title='Sorting an List of objects in Java'>Sorting an List of objects in Java</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/Y21cUNzQ7fo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/12/10/difference-between-hashset-and-treeset-in-java/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=difference-between-hashset-and-treeset-in-java</feedburner:origLink></item>
		<item>
		<title>Different Hibernate object states and their lifecycle in Hibernate</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/vFKhrMnSPUs/</link>
		<comments>http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/#comments</comments>
		<pubDate>Mon, 10 Dec 2012 09:28:50 +0000</pubDate>
		<dc:creator>vinay.kumar</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Different]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[lifecycle]]></category>
		<category><![CDATA[object states]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=530</guid>
		<description><![CDATA[There are 3 hibernate object state - 1.) Persistent- Persistent object and collections are short lived single threaded objects, which store the persistence state. These objects synchronize their state with database depending on your flush strategy(i.e auto flush where as soon as setXXX() method is called or an item is removed from a set,list etc [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers/' rel='bookmark' title='Hibernate Interview Questions and Answers -Part &#8211; 1'>Hibernate Interview Questions and Answers -Part &#8211; 1</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/batch-processing-in-hibernate/' rel='bookmark' title='Batch processing in hibernate'>Batch processing in hibernate</a></li>
<li><a href='http://techsamosa.com/blogs/2012/06/08/what-is-session-factory-in-hibernate/' rel='bookmark' title='What is session factory in hibernate?'>What is session factory in hibernate?</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>There are 3 hibernate object state -</p>
<p>1.) Persistent- Persistent object and collections are short lived single threaded objects, which store the persistence state. These objects synchronize their state with database depending on your flush strategy(i.e auto flush where as soon as setXXX() method is called or an item is removed from a set,list etc or define your own synchronization points with session.flush().transaction.commit() calls.) If you remove an item from persistence collections like a Set, it will be removed from database either immediately or when flush() or commit() is called depending on your flush strategy. They are plain old java objects(POJO) and are currently associated with session. As soon as the associated session is closed , persistence objects become detached objects and are free to use directly as data transfer objects in any application layer like business Layers, presentation layer etc.</p>
<p>2.) Detached &#8211; These objects and collection are instances of persistence objects that were associated with a session but currently not with associated with session. These objects can be freely used as Data Transfer Objects without having any impact on your database .Detached objects can be later on attached to another session by calling methods like session.update(), session.saveOrUpdate() etc and become persistence objects.</p>
<p>3.) Transient – These objects and collection are instance of persistence object that were never associated with session.These objects can be freely used as Data transfer objects without having any impact on your database. Transient objects become persistent objects when associated to session by calling session.save(), session.persist() etc.</p>
<p><a href="http://techsamosa.com/blogs/wp-content/uploads/2012/12/HibernateObject-Lifycycle.jpg"><img src="http://techsamosa.com/blogs/wp-content/uploads/2012/12/HibernateObject-Lifycycle.jpg" alt="" title="Object Life cycle" width="627" height="402" class="alignnone size-full wp-image-531" /></a>4.) Removed State -A previously persistent object that is deleted from the database session.delete(account).Java instance may still exist, but it is ignored by Hibernate -Any changes made to the object are not saved to the database Picked up for garbage collection once it falls out<br />
of scope<br />
• Hibernate does not null-out the in-memory object</p>
<p>Read more: http://www.techartifact.com/blogs/2012/12/different-hibernate-object-states-and-their-lifecycle-in-hibernate-techartifact.html#ixzz2Edhx2WTG</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/" data-text="Different Hibernate object states and their lifecycle in Hibernate"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;linkname=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;linkname=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;linkname=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;linkname=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;linkname=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;linkname=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F12%2F10%2Fdifferent-hibernate-object-states-and-their-lifecycle-in-hibernate%2F&amp;title=Different%20Hibernate%20object%20states%20and%20their%20lifecycle%20in%20Hibernate" id="wpa2a_14"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/08/06/hibernate-interview-questions-and-answers/' rel='bookmark' title='Hibernate Interview Questions and Answers -Part &#8211; 1'>Hibernate Interview Questions and Answers -Part &#8211; 1</a></li>
<li><a href='http://techsamosa.com/blogs/2012/08/06/batch-processing-in-hibernate/' rel='bookmark' title='Batch processing in hibernate'>Batch processing in hibernate</a></li>
<li><a href='http://techsamosa.com/blogs/2012/06/08/what-is-session-factory-in-hibernate/' rel='bookmark' title='What is session factory in hibernate?'>What is session factory in hibernate?</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/vFKhrMnSPUs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/12/10/different-hibernate-object-states-and-their-lifecycle-in-hibernate/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=different-hibernate-object-states-and-their-lifecycle-in-hibernate</feedburner:origLink></item>
		<item>
		<title>Debugging &amp; Generation of ABAP Proxy</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/l6dWpWZl3dc/</link>
		<comments>http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/#comments</comments>
		<pubDate>Tue, 25 Sep 2012 14:17:27 +0000</pubDate>
		<dc:creator>pankaj.sharma</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Proxy Generation]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=523</guid>
		<description><![CDATA[Debugging a Proxy XML input file is required to debug a proxy. Check whether interface has been processed or not from transaction SXMB_MONI. Take XML file and use as input for processing by manipulating file data. If debug session is unable to start, possibly the XML file is not correct. You can upload and edit [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/' rel='bookmark' title='Web Services Invocation and Proxy Objects in SAP'>Web Services Invocation and Proxy Objects in SAP</a></li>
<li><a href='http://techsamosa.com/blogs/2011/08/10/debugging-a-background-task-in-workflow/' rel='bookmark' title='Debugging a Background Task in Workflow'>Debugging a Background Task in Workflow</a></li>
<li><a href='http://techsamosa.com/blogs/2012/09/10/sap-netweaver-and-web-service-protocols/' rel='bookmark' title='SAP Netweaver and Web Service Protocols'>SAP Netweaver and Web Service Protocols</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Debugging a Proxy</strong></p>
<p style="text-align: justify;">XML input file is required to debug a proxy. Check whether interface has been processed or not from transaction SXMB_MONI. Take XML file and use as input for processing by manipulating file data. If debug session is unable to start, possibly the XML file is not correct.</p>
<p style="text-align: justify;">You can upload and edit XML payload file and debug the end point by setting breakpoint.</p>
<p style="text-align: justify;"><strong>Proxy Generation and Service Interface</strong></p>
<p style="text-align: justify;">Any change in the source XSD file impacts the proxy structure. It is required to regenerate o<strong>utbound service interface and then to regenerate client proxy. </strong>If there is some mandatory parameter is being changed then generation is must but generate client proxy on changes whenever WSDL is changed.</p>
<p style="text-align: justify;">Generate client proxy using t-code SPROXY by clicking Generate on service interface outbound and then activate (using ctrl+F3). Activation of proxy is required after regeneration of the proxy.</p>
<p style="text-align: justify;"><strong>Proxy URLs</strong></p>
<p style="text-align: justify;">Endpoint URL points to WSDL document for the web service. URLs are system dependent therefore configuration is required manually in each system.</p>
<p style="text-align: justify;"><strong>Important Transactions</strong></p>
<p style="text-align: justify;">Transaction SPROXY – Enterprise Service Repository</p>
<p style="text-align: justify;">Transaction SXMB_MONI – Monitoring of processed XML Messages</p>
<p style="text-align: justify;">Transaction SOA_MANAGER – Administration of new service definitions</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/" data-text="Debugging &#038; Generation of ABAP Proxy"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;linkname=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;linkname=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;linkname=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;linkname=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;linkname=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;linkname=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F25%2Fdebugging-generation-of-abap-proxy%2F&amp;title=Debugging%20%26%20Generation%20of%20ABAP%20Proxy" id="wpa2a_16"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/' rel='bookmark' title='Web Services Invocation and Proxy Objects in SAP'>Web Services Invocation and Proxy Objects in SAP</a></li>
<li><a href='http://techsamosa.com/blogs/2011/08/10/debugging-a-background-task-in-workflow/' rel='bookmark' title='Debugging a Background Task in Workflow'>Debugging a Background Task in Workflow</a></li>
<li><a href='http://techsamosa.com/blogs/2012/09/10/sap-netweaver-and-web-service-protocols/' rel='bookmark' title='SAP Netweaver and Web Service Protocols'>SAP Netweaver and Web Service Protocols</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/l6dWpWZl3dc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/09/25/debugging-generation-of-abap-proxy/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=debugging-generation-of-abap-proxy</feedburner:origLink></item>
		<item>
		<title>Web Services Invocation and Proxy Objects in SAP</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/hj8PJEIT6do/</link>
		<comments>http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 12:55:30 +0000</pubDate>
		<dc:creator>pankaj.sharma</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[ABAP Proxy]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=516</guid>
		<description><![CDATA[Synchronous &#38; Asynchronous Web Service Invocation Web services calls can be invoked synchronously or asynchronously. Third party systems can directly interact with SAP through web service calls. In case of synchronous mode, a response message is expected from the receiver for every request sent. Messages cannot be sent until the response is not received from sender [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/' rel='bookmark' title='Web Services in SAP'>Web Services in SAP</a></li>
<li><a href='http://techsamosa.com/blogs/2011/08/16/transient-vs-persistent-objects-in-sap/' rel='bookmark' title='SAP Transient Vs Persistent Objects (Persistent Class)'>SAP Transient Vs Persistent Objects (Persistent Class)</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Synchronous &amp; Asynchronous Web Service Invocation</strong></p>
<p style="text-align: justify;">Web services calls can be invoked synchronously or asynchronously. Third party systems can directly interact with SAP through web service calls.</p>
<p style="text-align: justify;">In case of synchronous mode, a response message is expected from the receiver for every request sent. Messages cannot be sent until the response is not received from sender system. In case of asynchronous communication, a response is not expected and sender can continue processing.</p>
<p style="text-align: justify;">Web Services can be created using wizard in SAP. All necessary objects are created automatically using the wizard.</p>
<p style="text-align: justify;"><strong>Proxy Objects in SAP</strong></p>
<p style="text-align: justify;">Proxies are platform specific executable entities which are mapped to web services that are built on platform independent standards in enterprise service repository. ESR only stores the details like configuration, installation and deployment related information for the web service.</p>
<p style="text-align: justify;">Proxies provide an abstraction for the platform specific implementation details for the business function to be achieved.</p>
<p style="text-align: justify;">ABAP client proxy can be created using the wizard in transaction SE80 or SPROXY. Once created, they are to be released using transaction SOAMANAGER.</p>
<p style="text-align: justify;"><strong>ABAP Proxy</strong></p>
<p style="text-align: justify;">ABAP Proxy can be created at application server using transaction SPROXY.  Direction of the proxy determines the objects that are generated. They could be either client Proxy or server proxy.</p>
<ol>
<li style="text-align: justify;"><span style="text-decoration: underline;">Client/ Consumer ABAP Proxy</span> – Consumer proxy can be created from by referring some existing service in ESR, by giving URL of the web service or by uploading WSDL file provided by third party system.</li>
<li style="text-align: justify;"><span style="text-decoration: underline;">Server/ Provider ABAP Proxy</span> – Provider proxy can be created from ESR Interface or some object type (referring to an endpoint)</li>
</ol>
<p style="text-align: justify;"><strong>States of Proxy Object</strong></p>
<p style="text-align: justify;">Proxy Objects can be active, orphan, obsolete or inactive depending on the association</p>
<div id="attachment_517" class="wp-caption alignleft" style="width: 596px"><a href="http://help.sap.com/saphelp_nw70ehp2/helpdata/en/45/ff8a1aa1873830e10000000a11466f/content.htm"><img class=" wp-image-517" title="state_proxyobjects" src="http://techsamosa.com/blogs/wp-content/uploads/2012/09/state_proxyobjects.bmp" alt="States of Proxy Object" width="586" height="130" /></a><p class="wp-caption-text">reference::help.sap.com</p></div>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;"><strong>End Point</strong></p>
<p style="text-align: justify;">End Point for web service could be a function module, Function Group, BAPI or a IDoc.</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/" data-text="Web Services Invocation and Proxy Objects in SAP"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;linkname=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;linkname=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;linkname=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;linkname=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;linkname=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;linkname=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F20%2Fweb-services-invocation-and-proxy-objects-in-sap%2F&amp;title=Web%20Services%20Invocation%20and%20Proxy%20Objects%20in%20SAP" id="wpa2a_18"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/' rel='bookmark' title='Web Services in SAP'>Web Services in SAP</a></li>
<li><a href='http://techsamosa.com/blogs/2011/08/16/transient-vs-persistent-objects-in-sap/' rel='bookmark' title='SAP Transient Vs Persistent Objects (Persistent Class)'>SAP Transient Vs Persistent Objects (Persistent Class)</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/hj8PJEIT6do" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/09/20/web-services-invocation-and-proxy-objects-in-sap/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=web-services-invocation-and-proxy-objects-in-sap</feedburner:origLink></item>
		<item>
		<title>Web Services in SAP</title>
		<link>http://feedproxy.google.com/~r/TechSamosa/~3/QN0v4J_0CHM/</link>
		<comments>http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/#comments</comments>
		<pubDate>Sat, 15 Sep 2012 10:37:38 +0000</pubDate>
		<dc:creator>pankaj.sharma</dc:creator>
				<category><![CDATA[SAP]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[Web Service]]></category>
		<category><![CDATA[WSDL]]></category>

		<guid isPermaLink="false">http://techsamosa.com/blogs/?p=506</guid>
		<description><![CDATA[Web Services are executable entities representing a process function that are built on an acceptable open standard which can be published, searched &#38; called from the network. Web services &#38; Business Process integration? Business Processes in an enterprise or across several enterprises are typically run on a complex system landscape spread across several software components [...]<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://techsamosa.com/blogs/2012/09/10/sap-netweaver-and-web-service-protocols/' rel='bookmark' title='SAP Netweaver and Web Service Protocols'>SAP Netweaver and Web Service Protocols</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">Web Services are executable entities representing a process function that are built on an acceptable open standard which can be published, searched &amp; called from the network.</p>
<p style="text-align: justify;"><strong>Web services &amp; Business Process integration?</strong></p>
<p style="text-align: justify;">Business Processes in an enterprise or across several enterprises are typically run on a complex system landscape spread across several software components each performing set of steps forming a part of process chain.</p>
<p style="text-align: justify;">Various applications, interfaces and message exchanges among software components used to be designed to integrate business process across several application components.</p>
<p style="text-align: justify;">Web services have simplified this integration by sharing open standards for integration.</p>
<ul style="text-align: justify;">
<li>It is possible to publish independent functional entities such as RFC enabled functions, BAPIs and Function Groups as Web Services which can be used by any other development environment over internet using standard protocols.</li>
</ul>
<ul style="text-align: justify;">
<li>Any other application can consume web service regardless of the way it has been implemented.</li>
</ul>
<p style="text-align: justify;"><strong>Service Provider Service Requestor and Service Directory</strong></p>
<p style="text-align: justify;"><strong>Service Provider</strong></p>
<p style="text-align: justify;">Once the business function has been implemented, it is exposed as a web service by the service provider. An interface is shared for the web service using which it can be configured and called at runtime. Interface provides an abstraction for the underlying implementation.</p>
<p style="text-align: justify;"><strong>Service Directory</strong></p>
<p style="text-align: justify;">Service definitions can be stored in a UDDI registry. Web service schema definitions (WSDL documents) can be searched in UDDI using standard search APIs.</p>
<p style="text-align: justify;"><strong>Service Requestor</strong></p>
<p style="text-align: justify;">Web Services can be integrated by service requestor using WSDL documents.</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-action="recommend" data-href="http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="horizontal" data-url="http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/" data-text="Web Services in SAP"></a><a class="a2a_button_google_plusone addtoany_special_service" data-href="http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/"></a><a class="a2a_button_google_plus_share addtoany_special_service" data-annotation="none" data-href="http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/"></a><a class="a2a_button_dzone" href="http://www.addtoany.com/add_to/dzone?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;linkname=Web%20Services%20in%20SAP" title="DZone" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/dzone.png" width="16" height="16" alt="DZone"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;linkname=Web%20Services%20in%20SAP" title="Delicious" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;linkname=Web%20Services%20in%20SAP" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a><a class="a2a_button_reddit" href="http://www.addtoany.com/add_to/reddit?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;linkname=Web%20Services%20in%20SAP" title="Reddit" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/reddit.png" width="16" height="16" alt="Reddit"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;linkname=Web%20Services%20in%20SAP" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_stumbleupon" href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;linkname=Web%20Services%20in%20SAP" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftechsamosa.com%2Fblogs%2F2012%2F09%2F15%2Fweb-services-in-sap%2F&amp;title=Web%20Services%20in%20SAP" id="wpa2a_20"><img src="http://techsamosa.com/blogs/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p><div class='yarpp-related-rss'>
<p>Related posts:</p><ol>
<li><a href='http://techsamosa.com/blogs/2012/09/10/sap-netweaver-and-web-service-protocols/' rel='bookmark' title='SAP Netweaver and Web Service Protocols'>SAP Netweaver and Web Service Protocols</a></li>
</ol>
</div>
<img src="http://feeds.feedburner.com/~r/TechSamosa/~4/QN0v4J_0CHM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://techsamosa.com/blogs/2012/09/15/web-services-in-sap/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=web-services-in-sap</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
