<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Andreas Mersch</title>
  <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/" />
  <link rel="self" href="http://blog.andreas-mersch.de/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-03-16T12:39:32.9687500+01:00</updated>
  <author>
    <name>andreas mersch</name>
  </author>
  <subtitle>software development and more...</subtitle>
  <id>http://blog.andreas-mersch.de/</id>
  <generator uri="http://www.dasblog.net" version="1.8.5223.2">DasBlog</generator>
  <entry>
    <title>(updated) Oracle WebCenter Interaction 10gR3 (WCI, former BEA Aqualogic User Interaction) User-Friendly-Url Bug ('User-Friendly-Urls don't work in SSO environment') fixed</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,fe2fc800-665b-4608-a612-f3bd2a5dcc94.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,fe2fc800-665b-4608-a612-f3bd2a5dcc94.aspx</id>
    <published>2009-10-05T14:07:53.3280000+02:00</published>
    <updated>2009-10-05T14:08:37.2812500+02:00</updated>
    <category term="Java" label="Java" scheme="dasBlog" />
    <category term="Oracle WebCenter Interaction" label="Oracle WebCenter Interaction" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">In the updated version of Oracle WebCenter
   Interaction 10gR3 (10.3.0.1, September 2009) Oracle also has fixed the bug with user-friendly
   urls in a SSO-environment. In Metalink this issue has the number #8535406 ('SSO PORTAL
   DOES NOT ALLOW PASS-THROUGH TO LINKS').<br /><br />
   see also: <a href="http://blog.andreas-mersch.de/PermaLink,guid,effd9069-4ec3-4864-98d4-5fb42447eda0.aspx">http://blog.andreas-mersch.de/PermaLink,guid,effd9069-4ec3-4864-98d4-5fb42447eda0.aspx</a><br /><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=fe2fc800-665b-4608-a612-f3bd2a5dcc94" /></div>
    </content>
  </entry>
  <entry>
    <title>Oracle WebCenter Interaction 10gR3: PTMenu will not be displayed properly</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,657be549-99f5-4bf6-92c7-42a0dde146ea.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,657be549-99f5-4bf6-92c7-42a0dde146ea.aspx</id>
    <published>2009-08-19T13:38:13.8900000+02:00</published>
    <updated>2009-08-19T13:38:45.1093750+02:00</updated>
    <category term="Oracle WebCenter Interaction" label="Oracle WebCenter Interaction" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">There is a JavaScript Bug in PTControls.js
   (/bea/alui/ptimages/imageserver/plumtree/common/private/js/jscontrols/LATEST) if the
   doctype of the portal page is set to HTML 4.0 Transition. The portlet menus will not
   be displayed beneath the portlet header, but in the upper left corner of the browser
   window. To fix this bug you have to add<br /><br /><p><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">if</span> (<span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">this</span>.popup.style.left
      == '') {<br />
         <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">this</span>.popup.style.left <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> '' <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span> left <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span> 'px';<br />
         <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">this</span>.popup.style.top <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> '' <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span> top <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">+</span> 'px'; 
      <br />
      }<br /></span></p>
   to the 'PTMenu.prototype.show' method in line 13688.<br /><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=657be549-99f5-4bf6-92c7-42a0dde146ea" /></div>
    </content>
  </entry>
  <entry>
    <title>Another Oracle WebCenter Interaction 10gR3 Javascript Bug</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,b8424605-6d51-44c4-8414-00f029544bb2.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,b8424605-6d51-44c4-8414-00f029544bb2.aspx</id>
    <published>2009-08-12T13:49:03.6090000+02:00</published>
    <updated>2009-08-12T14:16:08.1562500+02:00</updated>
    <category term="Oracle WebCenter Interaction" label="Oracle WebCenter Interaction" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">There is another JavaScript bug in Oracle
   WebCenter Interaction 10gR3 (\bea\alui\ptimages\imageserver\plumtree\common\private\jsutil\LATEST\ptutil.js).
   My current version of this file 'ptutils.js' is 334989. You can find the bug in line
   116:<br /><br />
                   if (srcObj.Class
   &amp;&amp; (srcObj.Class == 'Array') &amp;&amp; (typeof srcObj[i] == 'function'))
   { continue; }<br /><br />
   which should be<br /><br />
                   if (srcObj.Class
   &amp;&amp; (srcObj.Class == 'Array') &amp;&amp; (typeof srcObj[i] == 'function'))
   { continue; }<br />
                   if (typeof
   srcObj[i] == 'function') { continue; } <b><font color="#ff0000">// &lt;-- This line
   is missing</font></b><br /><br /><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=b8424605-6d51-44c4-8414-00f029544bb2" /></div>
    </content>
  </entry>
  <entry>
    <title>Java Decompiler</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,4fc0731e-4eb4-4611-9e9c-7c0e1ad6dfb4.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,4fc0731e-4eb4-4611-9e9c-7c0e1ad6dfb4.aspx</id>
    <published>2009-07-30T09:21:48.8125000+02:00</published>
    <updated>2009-07-30T09:21:48.8125000+02:00</updated>
    <category term="Java" label="Java" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">For some reasons it is very helpful to have
   a java decompiler. If you need one, have a look to <a href="http://java.decompiler.free.fr/">http://java.decompiler.free.fr/</a>,
   which also has a good Eclipse integration.<br /><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=4fc0731e-4eb4-4611-9e9c-7c0e1ad6dfb4" /></div>
    </content>
  </entry>
  <entry>
    <title>Oracle WebCenter Interaction 10gR3 Javascript Bug</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,74172a57-94e3-41b1-9ebb-06a6c96348d3.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,74172a57-94e3-41b1-9ebb-06a6c96348d3.aspx</id>
    <published>2009-07-30T08:43:18.7650000+02:00</published>
    <updated>2009-07-30T08:50:01.9531250+02:00</updated>
    <category term="Oracle WebCenter Interaction" label="Oracle WebCenter Interaction" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">There is a javascript bug in PTControls.js
   (\bea\alui\ptimages\imageserver\plumtree\common\private\js\jscontrols\LATEST). My
   current version of this file is 334989. You can find the bug in line 16424<br /><br /><blockquote>PTTabControl.prototype<font color="#ff0000"><b>,</b></font>constructor
   = PTTabControl;<br /></blockquote><br />
   which has to be<br /><blockquote>PTTabControl.prototype<font color="#ff0000"><b>.</b></font>constructor
   = PTTabControl;<br /></blockquote><br /><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=74172a57-94e3-41b1-9ebb-06a6c96348d3" /></div>
    </content>
  </entry>
  <entry>
    <title>WebCenter Interaction Firefox Add-on</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,c2de29fe-ff61-4641-aa25-5ca08303696e.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,c2de29fe-ff61-4641-aa25-5ca08303696e.aspx</id>
    <published>2009-04-27T08:22:39.9840000+02:00</published>
    <updated>2010-03-16T12:39:32.9687500+01:00</updated>
    <category term="Oracle WebCenter Interaction" label="Oracle WebCenter Interaction" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">On August 27th, 2008, Bill Benac published
   a very useful Firefox Add-on. With this add-on you can always recognize the portal
   server the response came from. Especially it is very useful in a clustered environment.<br /><img src="content/binary/20090427_WCI_Firefox_PlugIn.png" border="0" /><br /><br />
   My colleagues and me extended this add-on with additional information, like the construction
   and response time. You can get this add-on from Bill Benac's website <a href="http://blog.billbenac.com/blog/2008/08/firefox-plugin-shows-host-port.html%20">http://blog.billbenac.com/blog/2008/08/firefox-plugin-shows-host-port.html</a> or
   send me a mail ;-).<br /><br /><img src="http://blog.andreas-mersch.de/content/binary/20090427_WCI_Firefox_PlugIn_Details.png" border="0" /><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=c2de29fe-ff61-4641-aa25-5ca08303696e" /></div>
    </content>
  </entry>
  <entry>
    <title>Oracle WebCenter Interaction 10gR3 (WCI, former BEA Aqualogic User Interaction) User-Friendly-Url Bug ('User-Friendly-Urls don't work in SSO environment') fixed</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,effd9069-4ec3-4864-98d4-5fb42447eda0.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,effd9069-4ec3-4864-98d4-5fb42447eda0.aspx</id>
    <published>2009-04-23T08:56:08.9060000+02:00</published>
    <updated>2009-07-30T08:50:12.0937500+02:00</updated>
    <category term="Java" label="Java" scheme="dasBlog" />
    <category term="Oracle WebCenter Interaction" label="Oracle WebCenter Interaction" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">While developing an intranet portal based
   on Oracle WebCenter Interaction 10gR3 for a customer, developers of <b><font color="#ffa500">idesis
   GmbH</font></b> (<a href="http://www.idesis.de">http://www.idesis.de</a>) have successfully
   fixed a bug with accessing a bookmarked community page (portal page) url when the
   user doesn't have a valid portal session in a SSO (Single SignOn) environment yet.<br /><br />
   There are 4 different ways to open a community page:<br /><ol><li><i><font color="#808080">http://&lt;portalurl&gt;/portal/server.pt</font></i></li><li><i><font color="#808080">http://&lt;portalurl&gt;/portal/server.pt?open=514&amp;objID=12345&amp;mode=2</font></i></li><li><i><font color="#808080">http://&lt;portalurl&gt;/portal/server.pt?uuID={C8DC1486-F0CF-4DD4-A0A8-753E0D6B2D36}&amp;mode=2</font></i></li><li><i><font color="#808080">http://&lt;portalurl&gt;/portal/server.pt/community/information_management/1111/information_management</font></i></li></ol>
   The first address always opens the homepage, so it isn't interesting for us in this
   case. The second address always works, even in a SSO environment. Address-type 3 and
   4 only work if the user already logged on the portal.<br /><br />
   You can reproduce the bug doing the following steps:<br /><ol><li><font color="#808080"><i>Configure an WCI 10gR3 portal (or ALUI 6.x) with SSO.</i></font></li><li><font color="#808080"><i>Bookmark a community page.</i></font></li><li><font color="#808080"><i>Open a new browser window and attempt directly access that
         bookmarked community Url.</i></font></li><li><font color="#808080"><i>Note that you are redirected to your My Page / Homepage (it
         depends on the configuration of your experience definition)<br /></i></font></li><li><font color="#808080"><i>Now that you're already logged in via SSO, if you paste the
         community URL again into the address bar then you will properly be directed to the
         community.</i></font></li></ol>
   If you are interested in this bugfix, please contact<br /><br />
   Thomas Glander<br />
   Sales Manager<br /><br />
   idesis GmbH<br />
   Rellinghauser Straße 334F<br />
   D-45136 Essen<br /><br />
   http://www.idesis.de<br />
   T +49 (0) 700 433747 01<br />
   F +49 (0) 700 433747 99<br />
   E thomas.glander(at)idesis.de<br /><p></p><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=effd9069-4ec3-4864-98d4-5fb42447eda0" /></div>
    </content>
  </entry>
  <entry>
    <title>Single Sign-On mit ASP.NET 2.0 über zwei Applikationen</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,79a87e14-e4a2-4ea9-a789-a7ab796945b9.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,79a87e14-e4a2-4ea9-a789-a7ab796945b9.aspx</id>
    <published>2008-03-16T19:48:15.5730000+01:00</published>
    <updated>2008-03-17T12:09:34.8392500+01:00</updated>
    <category term="ASP.NET" label="ASP.NET" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Um auf Anmeldeinformationen einer Web Applikation
   aus einer anderen Web Applikation auf der selben Maschine zugreifen zu können und
   so eine Art von Single Sign-On abzubilden, ist entscheidend, dass in der web.config
   beider Applikationen der selbe machineKey konfiguriert wurde.<br /><br /><u><b>LoginWebSite:</b></u><br /><br /><u>web.config: </u><br /><font color="#006400">&lt;system.web&gt;<br />
       &lt;!-- [...] --&gt;<br /><br />
       &lt;authentication mode="Forms"&gt;<br />
           &lt;forms loginUrl="Login.aspx"/&gt;<br />
       &lt;/authentication&gt;<br /><br />
       &lt;authorization&gt;<br />
           &lt;deny users="?"/&gt;<br />
       &lt;/authorization&gt;<br /><br />
           &lt;machineKey validationKey="D61B3C89CB33A2F1422FF158AFF7320E8DB8CB5CDA1742572A487D94018787EF42682B202B746511891C1BAF47F8D25C07F6C39A104696DB51F17C529AD3CABE"
   decryptionKey="FBF50941F22D6A3B229EA593F24C41203DA6837F1122EF17" /&gt;<br /></font><font color="#006400">    
   <br />
       &lt;!-- [...] --&gt;<br /></font><font color="#006400">&lt;/system.web&gt;</font><br /><br /><u>Login.aspx:</u><br /><font color="#006400">    &lt;!-- [...] --&gt;<br /></font><font color="#006400">    &lt;div&gt;<br />
           &lt;asp:Login ID="Login1" runat="server"&gt;<br />
           &lt;/asp:Login&gt;<br />
       &lt;/div&gt;<br /></font><font color="#006400">    &lt;!-- [...] --&gt;<br /></font><br /><b><u><br />
   ApplWebSite:</u></b><br /><br /><u>web.config:</u><br /><font color="#006400">&lt;system.web&gt;<br /></font><font color="#006400">    &lt;!-- [...] --&gt;<br /></font><br /><font color="#006400">    &lt;authentication mode="Forms"&gt;<br />
           &lt;forms loginUrl="/Login/Login.aspx"/&gt;<br />
       &lt;/authentication&gt;<br /><br />
       &lt;authorization&gt;<br />
           &lt;deny users="?"/&gt;<br />
       &lt;/authorization&gt;<br /><br />
           &lt;machineKey validationKey="D61B3C89CB33A2F1422FF158AFF7320E8DB8CB5CDA1742572A487D94018787EF42682B202B746511891C1BAF47F8D25C07F6C39A104696DB51F17C529AD3CABE"
   decryptionKey="FBF50941F22D6A3B229EA593F24C41203DA6837F1122EF17" /&gt;<br /><br /></font><font color="#006400">    &lt;!-- [...] --&gt;<br /></font><br /><font color="#006400">&lt;/system.web&gt;</font><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=79a87e14-e4a2-4ea9-a789-a7ab796945b9" /></div>
    </content>
  </entry>
  <entry>
    <title>C# 3.0: Extension Methods </title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,03149698-0aaa-4928-b747-b25601db3a39.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,03149698-0aaa-4928-b747-b25601db3a39.aspx</id>
    <published>2007-12-19T12:42:12.1250000+01:00</published>
    <updated>2007-12-19T12:45:03.6718750+01:00</updated>
    <category term="C#" label="C#" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Mit C# 3.0 ist es möglich, Klassen von außen mit "Extension Methods" zu erweitern,
      ohne von der entsprechenden Klasse ableiten zu müssen. Dies ist von Vorteil, wenn
      man den ursprünglichen Datentyp (die ursprüngliche Klasse) beibehalten (Instanz i
      ist weiterhin vom Typ t), sealed oder Fremd-Klassen erweitern, oder unabhängig bei
      zukünftigen Weiterentwicklungen sein möchte... Die Erweiterungen werden im Quellcode
      verwendet, als gehören sie zu der jeweiligen Klasse. Im Visual Studio 2008 werden
      Extension Methods von IntelliSence durch den Hinweis "(extension)" gekennzeichnet.
   </p>
        <font color="#0000ff" size="2">
          <p>
      using
   </p>
        </font>
        <font size="2">
          <font color="#000000"> System;<br /></font>
        </font>
        <font color="#0000ff" size="2">using</font>
        <font size="2">
          <font color="#000000"> System.Collections.Generic;<br /></font>
        </font>
        <font color="#0000ff" size="2">using</font>
        <font size="2">
          <font color="#000000"> System.Linq;<br /></font>
        </font>
        <font color="#0000ff" size="2">using</font>
        <font size="2">
          <font color="#000000"> System.Text;</font>
        </font>
        <font color="#0000ff" size="2">
          <p>
      namespace
   </p>
        </font>
        <font size="2">
          <font color="#000000"> _002_MethodExtensions<br /></font>{<br />
      <br />
      </font>
        <font color="#0000ff" size="2">public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">static</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">class</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">MyStringExtension<br />
      </font>
        <font size="2">{<br />
         </font>
        <font color="#0000ff" size="2">public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">static</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> Reverse(</font>
        <font color="#0000ff" size="2">this</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> s)<br />
         {<br />
            </font>
        <font color="#0000ff" size="2">if</font>
        <font size="2"> (s
   == </font>
        <font color="#0000ff" size="2">null</font>
        <font size="2"> || s.Length ==
   0)<br />
               </font>
        <font color="#0000ff" size="2">return</font>
        <font size="2"> s;<br /><br />
            </font>
        <font color="#2b91af" size="2">StringBuilder</font>
        <font size="2"> sb
   = </font>
        <font color="#0000ff" size="2">new</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">StringBuilder</font>
        <font size="2">();<br /></font>
        <font color="#0000ff" size="2">         for</font>
        <font size="2"> (</font>
        <font color="#0000ff" size="2">var</font>
        <font size="2"> i
   = s.Length; i != 0; --i) <br />
            {<br />
               sb.Append(s[i
   - 1]);<br />
            }<br /><br />
            </font>
        <font color="#0000ff" size="2">return</font>
        <font size="2"> sb.ToString();<br />
         }<br />
      }
   <p></p></font>
        <font color="#0000ff" size="2">   class</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">Program<br /></font>
        <font size="2">   {<br /></font>
        <font color="#0000ff" size="2">      static</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">void</font>
        <font size="2"> Main(</font>
        <font color="#0000ff" size="2">string</font>
        <font size="2">[]
   args)<br />
         {<br />
            </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> hello
   = </font>
        <font color="#a31515" size="2">"Hello World"</font>
        <font size="2">;<br />
            </font>
        <font color="#2b91af" size="2">Console</font>
        <font size="2">.WriteLine(</font>
        <font color="#a31515" size="2">"{0}
   --&gt; {1}"</font>
        <font size="2">, hello, hello.Reverse());<br />
         }<br />
      }<br /><br />
   }
   </font>
        <img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=03149698-0aaa-4928-b747-b25601db3a39" />
      </div>
    </content>
  </entry>
  <entry>
    <title>C# 3.0: Automatisch implementierte Eigenschaften</title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,42f16bc3-21c2-4a41-86cc-ac661001600c.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,42f16bc3-21c2-4a41-86cc-ac661001600c.aspx</id>
    <published>2007-12-11T08:54:09.5000000+01:00</published>
    <updated>2007-12-11T08:56:17.3127230+01:00</updated>
    <category term="C#" label="C#" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Ein neues Sprachfeature von C# 3.0 sind automatisch implementierte Eigenschaften.
      Wo bisher ausimplementierte Getter und Setter notwendig waren, reicht nun die simple
      Anweisung "get;" bzw. "set;" bei der Property Deklaration.
   </p>
        <p>
      Beispiel:
   </p>
        <font color="#0000ff" size="2">
          <p>
      using
   </p>
        </font>
        <font size="2">
          <font color="#000000"> System;<br /></font>
        </font>
        <font color="#0000ff" size="2">using</font>
        <font size="2">
          <font color="#000000"> System.Collections.Generic;<br /></font>
        </font>
        <font color="#0000ff" size="2">using</font>
        <font size="2">
          <font color="#000000"> System.Linq;<br /></font>
        </font>
        <font color="#0000ff" size="2">using</font>
        <font size="2">
          <font color="#000000"> System.Text;<br /></font>
        </font>
        <font color="#0000ff" size="2">
          <br />
   namespace</font>
        <font size="2">
          <font color="#000000"> _001_AutoImplProperties<br /></font>{<br /></font>
        <font color="#808080" size="2">   <br />
      ///</font>
        <font color="#008000" size="2">
        </font>
        <font color="#808080" size="2">&lt;summary&gt;<br /></font>
        <font color="#808080" size="2">   ///</font>
        <font color="#008000" size="2"> Sample
   class for Automatically Implemented Properties<br /></font>
        <font color="#808080" size="2">   ///</font>
        <font color="#008000" size="2">
        </font>
        <font color="#808080" size="2">&lt;/summary&gt;<br /></font>
        <font color="#0000ff" size="2">   class</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">Person<br /></font>
        <font size="2">   {<br /></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">Guid</font>
        <font size="2"> Id
   { </font>
        <font color="#0000ff" size="2">get</font>
        <font size="2">; </font>
        <font color="#0000ff" size="2">private</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">set</font>
        <font size="2">;
   } </font>
        <font color="#008000" size="2">// only public getter<br /></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> Name
   { </font>
        <font color="#0000ff" size="2">get</font>
        <font size="2">; </font>
        <font color="#0000ff" size="2">set</font>
        <font size="2">;
   } </font>
        <font color="#008000" size="2">// public getter and setter<br /></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> Address
   { </font>
        <font color="#0000ff" size="2">get</font>
        <font size="2">; </font>
        <font color="#0000ff" size="2">set</font>
        <font size="2">;
   }<br /></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> City
   { </font>
        <font color="#0000ff" size="2">get</font>
        <font size="2">; </font>
        <font color="#0000ff" size="2">set</font>
        <font size="2">;
   }<br /></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> Zip
   { </font>
        <font color="#0000ff" size="2">get</font>
        <font size="2">; </font>
        <font color="#0000ff" size="2">set</font>
        <font size="2">;
   }
   <p></p></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2"> Person(</font>
        <font color="#2b91af" size="2">Guid</font>
        <font size="2"> id)<br />
         {<br />
            Id = id;<br />
         }
   <p></p></font>
        <font color="#0000ff" size="2">      public</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">override</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2"> ToString()<br />
         {<br /></font>
        <font color="#0000ff" size="2">         return</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">string</font>
        <font size="2">.Format(</font>
        <font color="#a31515" size="2">"{0}
   ({1})"</font>
        <font size="2">, Name, Id);<br />
         }<br />
      }
   <p></p></font>
        <font color="#0000ff" size="2">   class</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">Program<br /></font>
        <font size="2">   {<br /></font>
        <font color="#0000ff" size="2">      static</font>
        <font size="2">
        </font>
        <font color="#0000ff" size="2">void</font>
        <font size="2"> Main(</font>
        <font color="#0000ff" size="2">string</font>
        <font size="2">[]
   args)<br />
         {<br /></font>
        <font color="#2b91af" size="2">         Person</font>
        <font size="2"> a
   = </font>
        <font color="#0000ff" size="2">new</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">Person</font>
        <font size="2">(</font>
        <font color="#2b91af" size="2">Guid</font>
        <font size="2">.NewGuid())
   { Name = </font>
        <font color="#a31515" size="2">"Andreas"</font>
        <font size="2">, Address
   = </font>
        <font color="#a31515" size="2">"Adresse 1"</font>
        <font size="2">, Zip = </font>
        <font color="#a31515" size="2">"12345"</font>
        <font size="2">,
   City = </font>
        <font color="#a31515" size="2">"Ort 1"</font>
        <font size="2"> };<br /></font>
        <font color="#2b91af" size="2">         Person</font>
        <font size="2"> b
   = </font>
        <font color="#0000ff" size="2">new</font>
        <font size="2">
        </font>
        <font color="#2b91af" size="2">Person</font>
        <font size="2">(</font>
        <font color="#2b91af" size="2">Guid</font>
        <font size="2">.NewGuid())
   { Name = </font>
        <font color="#a31515" size="2">"Melanie"</font>
        <font size="2">, Address
   = </font>
        <font color="#a31515" size="2">"Adresse 2"</font>
        <font size="2">, Zip = </font>
        <font color="#a31515" size="2">"98765"</font>
        <font size="2">,
   City = </font>
        <font color="#a31515" size="2">"Ort 2"</font>
        <font size="2"> };<br /></font>
        <font color="#2b91af" size="2">
          <br />
            Console</font>
        <font size="2">.WriteLine(a);<br /></font>
        <font color="#2b91af" size="2">         Console</font>
        <font size="2">.WriteLine(b);<br />
         }<br />
      }<br />
   }</font>
        <font size="2">
        </font>
        <img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=42f16bc3-21c2-4a41-86cc-ac661001600c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Default Java VM unter Ubuntu umschalten </title>
    <link rel="alternate" type="text/html" href="http://blog.andreas-mersch.de/PermaLink,guid,1308540c-5957-4b93-a95a-677db569c857.aspx" />
    <id>http://blog.andreas-mersch.de/PermaLink,guid,1308540c-5957-4b93-a95a-677db569c857.aspx</id>
    <published>2007-11-13T10:53:20.9210000+01:00</published>
    <updated>2009-07-30T08:49:08.4843750+02:00</updated>
    <category term="Java" label="Java" scheme="dasBlog" />
    <category term="Ubuntu" label="Ubuntu" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Um unter Ubuntu die Default JVM umzuschalten,
   muss auf der Konsole folgender Befehl eingegeben werden:<br /><br /><font color="#006400">sudo update-alternatives --config java<br /></font><br />
   Daraufhin erscheint folgender Auswahldialog:<br /><br /><font color="#006400">Es gibt 4 Alternativen, die »java« bereitstellen.<br /><br />
     Auswahl      Alternative<br />
   -----------------------------------------------<br />
             1    /usr/bin/gij-4.2<br />
   *+        2    /usr/lib/j2se/1.4/bin/java<br />
             3    /usr/lib/jvm/java-6-sun/jre/bin/java<br />
             4    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java<br /><br />
   Drücken Sie die Eingabetaste, um die Vorgabe[*] beizubehalten,<br />
   oder geben Sie die Auswahlnummer ein:</font><br /><br />
   Voraussetzung ist, dass die JVMs über Ubuntu/Debian Bordmittel (z.B. apt-get) installiert
   wurden... Fertig.<br />
    <br /><p></p><img width="0" height="0" src="http://blog.andreas-mersch.de/aggbug.ashx?id=1308540c-5957-4b93-a95a-677db569c857" /></div>
    </content>
  </entry>
</feed>