<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
  <title>service layer in liferay</title>
  <link rel="alternate" href="http://www.mpowerglobal.com/c/message_boards/find_thread?p_l_id=27331&amp;threadId=83209" />
  <subtitle>service layer in liferay</subtitle>
  <entry>
    <title>RE: service layer in liferay</title>
    <link rel="alternate" href="http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=99050" />
    <author>
      <name>Tanweer Ahmed Ansari</name>
    </author>
    <id>http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=99050</id>
    <updated>2010-07-24T04:04:08Z</updated>
    <published>2010-07-24T04:04:08Z</published>
    <summary type="html">&lt;div class='quote-title'&gt;Muhammed Shakir Misarwala:&lt;/div&gt;&lt;div class='quote'&gt;&lt;div class='quote-content'&gt;Excellent explanation Tanveer.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Thnx Br Shakir,</summary>
    <dc:creator>Tanweer Ahmed Ansari</dc:creator>
    <dc:date>2010-07-24T04:04:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: service layer in liferay</title>
    <link rel="alternate" href="http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=99034" />
    <author>
      <name>Tanweer Ahmed Ansari</name>
    </author>
    <id>http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=99034</id>
    <updated>2010-07-24T03:53:09Z</updated>
    <published>2010-07-23T19:25:13Z</published>
    <summary type="html">&lt;div class='quote-title'&gt;Liyakath ali khan:&lt;/div&gt;&lt;div class='quote'&gt;&lt;div class='quote-content'&gt;Hi Friends,&lt;br /&gt;    When am trying to do ant build-service it will generate model folder and service folder  and all the classes its working fine but at the same time it will generate some xml files inside the src META-INF like  portlet-spring.xml,infrastructure-spring.xml what is the use of this files?can anyone help me?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Hello Liyakat ,&lt;br /&gt;&lt;br /&gt;When you generate the service layer with the service builder, it generates certain files which includes Java Beans,Axis Web Services(if remote is set to true),Spring Configuration files,Hibernate Configuration files,SQL scripts,JSON interface.&lt;br /&gt;&lt;b&gt;Java Beans&lt;/b&gt; are implemented in the form of setters and getters which ,as the name suggests is used for setting and getting the values respectively.&lt;br /&gt;Speaking about the&lt;b&gt; web services&lt;/b&gt; ,there are different methodologies to implement but the one which Liferay supports is Axis.The Axis framework is the implementation of the &lt;b&gt;SOAP&lt;/b&gt; (Simple Object Access Protocol) which is  helpful in inter application communication.&lt;br /&gt;&lt;b&gt;Spring&lt;/b&gt; framework in the portal is used for maintaining the business and data services layers as well as transaction management. For example ext-spring.xml contains the Spring based Dependency Injection.Also spring provides the Connection Pooling mechanism in Liferay .LIferay services are implemented as Spring.  portal-spring.xml file  contains all of the definitions of the service implementations,  dynamic-data-source-spring.xml provides the &lt;br /&gt;datasource and transaction manager.&lt;br /&gt;&lt;b&gt;HibernateSession&lt;/b&gt; is used by Dynamic Query API, portal-hbm.xml is used for Hibernate object-relationship mappings for portal models.Also we can provide custom Hibernate object-relationship mappings in ext-hbm.xml.&lt;br /&gt;&lt;b&gt;SQL&lt;/b&gt; scripts provides the database structure and &lt;b&gt;JSON&lt;/b&gt; service generated is used in the context of Ajax which provides us with the functionality to access the server side resources without actually submitting the form.</summary>
    <dc:creator>Tanweer Ahmed Ansari</dc:creator>
    <dc:date>2010-07-23T19:25:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: service layer in liferay</title>
    <link rel="alternate" href="http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=84705" />
    <author>
      <name>Muhammed Shakir Misarwala</name>
    </author>
    <id>http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=84705</id>
    <updated>2010-07-16T03:54:44Z</updated>
    <published>2010-07-16T03:54:44Z</published>
    <summary type="html">Liferay uses Spring for integration and service layer implementation. It also uses hibernate for persistency. The xml files generated are spring configuration , hibernate configuration and infrastructure related (transaction management etc) files.&lt;br /&gt;&lt;br /&gt;I hope this helps</summary>
    <dc:creator>Muhammed Shakir Misarwala</dc:creator>
    <dc:date>2010-07-16T03:54:44Z</dc:date>
  </entry>
  <entry>
    <title>service layer in liferay</title>
    <link rel="alternate" href="http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=83208" />
    <author>
      <name>Liyakath ali khan</name>
    </author>
    <id>http://www.mpowerglobal.com/c/message_boards/find_message?p_l_id=27331&amp;messageId=83208</id>
    <updated>2010-08-30T17:00:50Z</updated>
    <published>2010-07-15T11:18:50Z</published>
    <summary type="html">Hi Friends,&lt;br /&gt;    When am trying to do ant build-service it will generate model folder and service folder  and all the classes its working fine but at the same time it will generate some xml files inside the src META-INF like  portlet-spring.xml,infrastructure-spring.xml what is the use of this files?can anyone help me ?</summary>
    <dc:creator>Liyakath ali khan</dc:creator>
    <dc:date>2010-07-15T11:18:50Z</dc:date>
  </entry>
</feed>

