<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Mehmet Ali Ertürk &#187; J2EE</title>
	<atom:link href="http://mehmetalierturk.com/tag/j2ee/feed/" rel="self" type="application/rss+xml" />
	<link>http://mehmetalierturk.com</link>
	<description>Innovation is the ability to see change as an opportunity, not a threat</description>
	<lastBuildDate>Wed, 18 Jan 2012 14:28:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux vs. Windows Conflict</title>
		<link>http://mehmetalierturk.com/2009/02/06/linux-vs-windows-conflict/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-vs-windows-conflict</link>
		<comments>http://mehmetalierturk.com/2009/02/06/linux-vs-windows-conflict/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 08:19:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.mehmetalierturk.com/?p=593</guid>
		<description><![CDATA[Since we moved to our new office with new company and additional staff, we’ve switched our platform from JEE on Linux to asp.net on Windows because D&#038;D is easy to use which I completely disagree. Today one of the developers &#8230; <a href="http://mehmetalierturk.com/2009/02/06/linux-vs-windows-conflict/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since we moved to our new office with new company and additional staff, we’ve switched our platform from JEE on Linux to asp.net on Windows because <a href="http://www.mehmetalierturk.com/2009/01/26/why-not-to-use-drag-drop-net-development/">D&#038;D</a> is easy to use which I completely disagree.  Today one of the developers in the office noticed that our .net development server is down. It is used for development and test purposes (manual tests). It is crashed despite having better hardware when compared our old servers which is not a server (we build it with oem products) and it is running Fedora and still up and serves well. Windows box is broken, having power issues but Linux box is still up for  408 days. What a conflict!!! Linux box with poor hardware having better performance and robust when compared better windows box with better hardware (designed for servers).</p>
<p>Man, <a href="http://blog.decarufel.net/2009/02/10-more-reasons-why-net-sucks.html" rel="nofollow">.net really sucks</a> … I already <a href="http://www.mehmetalierturk.com/2009/01/29/net-culture-issues/">know</a> it but .Net developers prove it.</p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2009/02/06/linux-vs-windows-conflict/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Load Balancing</title>
		<link>http://mehmetalierturk.com/2008/03/13/load-balancing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=load-balancing</link>
		<comments>http://mehmetalierturk.com/2008/03/13/load-balancing/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 17:29:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2008/03/13/load-balancing/</guid>
		<description><![CDATA[I had some problems with load balancing on glassfish clusters but today I got it up and running on my local machine using apache2 as web server.]]></description>
			<content:encoded><![CDATA[<p>I had some problems with load balancing on <a href="https://glassfish.dev.java.net/">glassfish</a> clusters but today I got it up and running on my local machine using <a href="http://httpd.apache.org/">apache2</a> as web server.  </p>
<p><a href="http://bp2.blogger.com/_m2dDliH3PFI/R9llVj8ZaJI/AAAAAAAAAJg/ew8RsKpdMgY/s1600-h/loadbalance.png"><img style="display:block;text-align:center;cursor:hand;margin:0 auto 10px;" src="http://bp2.blogger.com/_m2dDliH3PFI/R9llVj8ZaJI/AAAAAAAAAJg/ew8RsKpdMgY/s400/loadbalance.png" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2008/03/13/load-balancing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding the cache of TopLink Essentials(GlassFish JPA)</title>
		<link>http://mehmetalierturk.com/2008/03/12/understanding-the-cache-of-toplink-essentialsglassfish-jpa/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=understanding-the-cache-of-toplink-essentialsglassfish-jpa</link>
		<comments>http://mehmetalierturk.com/2008/03/12/understanding-the-cache-of-toplink-essentialsglassfish-jpa/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 13:17:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[Toplink]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2008/03/12/understanding-the-cache-of-toplink-essentialsglassfish-jpa/</guid>
		<description><![CDATA[Great article about the cache of Toplink Essetials(Glassfish JPA).]]></description>
			<content:encoded><![CDATA[<p>Great <a href="http://weblogs.java.net/blog/guruwons/archive/2006/09/understanding_t_1.html">article</a> about the cache of Toplink Essetials(Glassfish JPA).</p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2008/03/12/understanding-the-cache-of-toplink-essentialsglassfish-jpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do we need J2EE for this?</title>
		<link>http://mehmetalierturk.com/2008/02/02/do-we-need-j2ee-for-this/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=do-we-need-j2ee-for-this</link>
		<comments>http://mehmetalierturk.com/2008/02/02/do-we-need-j2ee-for-this/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 00:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[Swing]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2008/02/02/do-we-need-j2ee-for-this/</guid>
		<description><![CDATA[Question : We want to write a ERP-Software for our company.The number of users will be up to 200 (mostly not at the same time). Since usability is important, we plan to choose a Swing GUI. What do you think &#8230; <a href="http://mehmetalierturk.com/2008/02/02/do-we-need-j2ee-for-this/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="font-weight:bold;">Question :</span> We want to write a ERP-Software for our company.The number of users will be up to 200 (mostly not at the same time). Since usability is important, we plan to choose a Swing GUI. What do you think of it? Do we need J2EE for that? Or is this a bit too much? If you need more information to answer that question, please ask me.</p>
<p><span style="font-weight:bold;">Answer :</span> Of course you do not need J2EE. If your company has an email system and Microsoft Office, you could email spreadsheets back and forth.</p></blockquote>
<p>I like Java. Full response to question is <a href="http://www.theserverside.com/discussions/thread.tss?thread_id=26003">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2008/02/02/do-we-need-j2ee-for-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a cluster</title>
		<link>http://mehmetalierturk.com/2007/09/28/setting-up-a-cluster/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-a-cluster</link>
		<comments>http://mehmetalierturk.com/2007/09/28/setting-up-a-cluster/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 18:09:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2007/09/28/setting-up-a-cluster/</guid>
		<description><![CDATA[It took 2 days to read and learn and setup a JEE based cluster for different types of platforms. I still have some problems in linux running Fedora Core 7. Problem is setting up connection on node instances. A good &#8230; <a href="http://mehmetalierturk.com/2007/09/28/setting-up-a-cluster/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It took 2 days to read and learn and setup a JEE based <a href="http://en.wikipedia.org/wiki/Computer_cluster">cluster</a> for different types of platforms. I still have some problems in linux running Fedora Core 7. Problem is setting up connection on node instances. A good start for JEE cluster can be found <a href="http://docs.sun.com/app/docs/doc/819-3193/gatqf?a=view">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2007/09/28/setting-up-a-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security in Java EE Part 1</title>
		<link>http://mehmetalierturk.com/2007/09/12/security-in-java-ee-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=security-in-java-ee-part-1</link>
		<comments>http://mehmetalierturk.com/2007/09/12/security-in-java-ee-part-1/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 21:01:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[JAAS]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2007/09/12/security-in-java-ee-part-1/</guid>
		<description><![CDATA[Object Oriented application development provides developers to divide application into different layers such as database layer, business layer, presentation layer … etc. Multi layer application development approach provides easy to develop and maintain large scale projects. However, this approach addresses &#8230; <a href="http://mehmetalierturk.com/2007/09/12/security-in-java-ee-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Object Oriented application development provides developers to divide application into different layers such as database layer, business layer, presentation layer … etc. Multi layer application development approach provides easy to develop and maintain large scale projects. However, this approach addresses one of the most important issue, security.</p>
<p>Java EE consists of components ejb, web, web services, application clients … etc. Each of these components can be deployed into different containers or same container. Security is handled by the containers; a container provides programming or declarative security. Programming security is embedded control mechanism that is used when declarative security is insufficient. Declarative security defines applications security configuration out of the application via configuration files. Also, annotations define set of security rules by class files.</p>
<p>Java provides some security implementation mechanisms like;
<ul>
<li><a href="http://java.sun.com/products/jaas/"><span style="font-weight:bold;">JAAS</span></a>: Java Authorization and Authentication Service consists of APIs to enable authorization and  access control against to agents (user, account, service … )</li>
<li><a href="http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/tutorials/index.html"><span style="font-weight:bold;">Java GSS</span></a>: Java Generic Security Services consists of APIs to enable securely exchange messages between applications.</li>
<li><a href="http://java.sun.com/products/jce/"><span style="font-weight:bold;">JCE</span></a>: Java Cryptography Extension provides framework implementations for encryption, key generation, key agreement and (MAC) Message Authentication Code algorithms.</li>
<li><a href="http://java.sun.com/products/jsse/"><span style="font-weight:bold;">JSSE</span></a>: Java Secure Socket Extension provides implementation for a Java version of SSL and TLS protocols.</li>
<li><a href="http://java.sun.com/j2se/1.5.0/docs/guide/security/sasl/sasl-refguide.html"><span style="font-weight:bold;">SASL</span></a>: Simple Authentication and Security Layer a protocol for authentication and optional establishment of a security layer between client and server applications.</li>
</ul>
<p>Reference:<br /><a href="http://www.blogger.com/%C3%A2%C2%80%C2%A2%09http://java.sun.com/j2se/1.5.0/docs/guide/security/"><br />http://java.sun.com/j2se/1.5.0/docs/guide/security/</a></p>
<p><a href="http://java.sun.com/javase/technologies/security/">http://java.sun.com/javase/technologies/security/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2007/09/12/security-in-java-ee-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>java.lang.OutOfMemoryError: PermGen space</title>
		<link>http://mehmetalierturk.com/2007/09/03/javalangoutofmemoryerror-permgen-space/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javalangoutofmemoryerror-permgen-space</link>
		<comments>http://mehmetalierturk.com/2007/09/03/javalangoutofmemoryerror-permgen-space/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 21:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[Nightmare]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2007/09/03/javalangoutofmemoryerror-permgen-space/</guid>
		<description><![CDATA[If you are developing JEE applications with low resources (like me ) probably you have been facing &#8220;java.lang.OutOfMemoryError: PermGen space&#8221; exception and it will be your nightmare. Sample stack trace of exception: StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw &#8230; <a href="http://mehmetalierturk.com/2007/09/03/javalangoutofmemoryerror-permgen-space/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are developing JEE applications with low resources (like me ) probably you have been facing  &#8220;java.lang.OutOfMemoryError: PermGen space&#8221; exception and it will be your nightmare. Sample stack trace of exception: <br />
<blockquote>StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception<br />java.lang.OutOfMemoryError: PermGen space<br />        at sun.misc.Unsafe.defineClass(Native Method)<br />        at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)<br />        at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)<br />        at java.security.AccessController.doPrivileged(Native Method)<br />        at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)<br />        at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)<br />        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)<br />        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />&#8230;<br />&#8230;</p></blockquote>
<p>You should add these parameters to domail.xml to get rid of this exception ( it is not exact solution) :</p>
<blockquote><p> -Xmx256m<br />        -Xms64m<br />        -Xss128k<br />        -XX:NewRatio=2<br />        -XX:+CMSClassUnloadingEnabled<br />        -XX:+CMSPermGenSweepingEnabled</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2007/09/03/javalangoutofmemoryerror-permgen-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schema Generation : Hibernate vs Toplink</title>
		<link>http://mehmetalierturk.com/2007/08/27/schema-generation-hibernate-vs-toplink/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=schema-generation-hibernate-vs-toplink</link>
		<comments>http://mehmetalierturk.com/2007/08/27/schema-generation-hibernate-vs-toplink/#comments</comments>
		<pubDate>Mon, 27 Aug 2007 14:53:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[J2EE]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JEE]]></category>
		<category><![CDATA[Toplink]]></category>

		<guid isPermaLink="false">http://merturk.wordpress.com/2007/08/27/schema-generation-hibernate-vs-toplink/</guid>
		<description><![CDATA[Do you know why I like hiberante and dislike toplink?A simple reason should be hibernate scheme generation can update columns and lots of stuff in existing table as mentioned below: SchemaExport (hbm2ddl): This tool is provided with the core Hibernate &#8230; <a href="http://mehmetalierturk.com/2007/08/27/schema-generation-hibernate-vs-toplink/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do you know why I like hiberante and dislike toplink?<br />A simple reason should be hibernate scheme generation can update columns and lots of stuff in existing table as mentioned below:<br />
<blockquote><a href="http://www.hibernate.org/256.html">SchemaExport (hbm2ddl)</a>: This tool is provided with the core Hibernate download. It uses Hibernate mapping metadata XML files to generate a SQL database schema with DDL. You can enhance your mapping files with database specific elements (SQL column datatypes, unique/check constraints/indexes, etc.) and then export the SQL DDL to a text file. You may also directly export the DDL to a database, this is very powerful in development, as you can automatically create and drop a database at each test run. See the Hibernate reference documentation for more information about this tool.</p></blockquote>
<p>On the other hand, toplink can not update existing database table. It is <a href="http://www.oracle.com/technology/products/ias/toplink/JPA/resources/toplink-jpa-extensions.html#CACIJBBA">terrible </a>&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://mehmetalierturk.com/2007/08/27/schema-generation-hibernate-vs-toplink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

