<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Dev/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>EDN Website Blog : Java</title><link>http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/Java/default.aspx</link><description>Tags: Java</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>SP5 offers IBM Portal Server ArcGIS Portlet development</title><link>http://blogs.esri.com/Dev/blogs/ednwebsite/archive/2008/04/04/SP5-offers-IBM-Portal-Server-ArcGIS-Portlet-development.aspx</link><pubDate>Fri, 04 Apr 2008 18:44:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:1542</guid><dc:creator>eleanord</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/ednwebsite/comments/1542.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/ednwebsite/commentrss.aspx?PostID=1542</wfw:commentRss><description>&lt;p&gt;ArcGIS Server 9.2 Service Pack 5 includes an enhancement to the ArcGIS Server Java ADF which provides support for IBM Portal Server ArcGIS Portlet development. This gives you the ability to create and publish GIS Mapping Portlets inside IBM Portal Server. In conjunction, SP5 includes a plug-in for the IBM Rational Application Developer (RAD) environment so that you can create and deploy those ArcGIS Portlets more efficiently. The following documents have been added related to this SP5 enhancement.&lt;/p&gt;&lt;p&gt;&lt;b&gt;New article - &lt;a href="http://edndoc.esri.com/arcobjects/9.2/Java/6939ab10-a3d5-4312-b173-23ba36dc7436.htm"&gt;Install ArcGIS RAD plug-in&lt;/a&gt;&lt;/b&gt;&lt;br&gt;&lt;i&gt;Programming language(s):&lt;/i&gt; Java&lt;br&gt;&lt;i&gt;Development platforms:&lt;/i&gt; ArcGIS Server&lt;br&gt;After installing SP5 you will neeed to update the IBM RAD IDE to leverage the ArcGIS RAD plug-in. &lt;a href="http://edndoc.esri.com/arcobjects/9.2/Java/6939ab10-a3d5-4312-b173-23ba36dc7436.htm"&gt;This article&lt;/a&gt; walks you through that process.&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;New article - &lt;a href="http://edndoc.esri.com/arcobjects/9.2/Java/7edfc4f6-7f31-4ae9-9fff-2acf7afc8dc5.htm"&gt;Developing ArcGIS Portlet applications in RAD&lt;/a&gt;&lt;/b&gt;&lt;br&gt;&lt;i&gt;Programming language(s):&lt;/i&gt; Java&lt;br&gt;
&lt;i&gt;Development platforms:&lt;/i&gt; ArcGIS Server&lt;br&gt;&lt;a href="http://edndoc.esri.com/arcobjects/9.2/Java/7edfc4f6-7f31-4ae9-9fff-2acf7afc8dc5.htm"&gt;This article&lt;/a&gt; takes you through the basic steps required to create an ArcGIS Portlet application using the plug-in. The sample application displays a map, toolbar, table of contents, map overview, results, results details, and an empty task pane.&amp;nbsp; &lt;br&gt;&lt;/p&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=1542" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/What_2700_s+new/default.aspx">What's new</category><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/ArcGIS+Server/default.aspx">ArcGIS Server</category><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/Java/default.aspx">Java</category><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/9.2+SP5/default.aspx">9.2 SP5</category></item><item><title>Eclipse plug-in to help Java developers debug their ArcObjects code</title><link>http://blogs.esri.com/Dev/blogs/ednwebsite/archive/2008/03/11/Eclipse-plug_2D00_in-to-help-Java-developers-debug-their-ArcObjects-code.aspx</link><pubDate>Wed, 12 Mar 2008 01:09:00 GMT</pubDate><guid isPermaLink="false">b60b3f0a-e2bd-4be5-8a18-822c697649ab:1175</guid><dc:creator>eleanord</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Dev/blogs/ednwebsite/comments/1175.aspx</comments><wfw:commentRss>http://blogs.esri.com/Dev/blogs/ednwebsite/commentrss.aspx?PostID=1175</wfw:commentRss><description>&lt;P&gt;&lt;EM&gt;(The following post&amp;nbsp;was contributed by Divesh Goyal&amp;nbsp;and the&amp;nbsp;Java development team)&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Updated 4/14/08 - Added link to a &lt;A class="" href="http://edn.esri.com/index.cfm?fa=downloads.detail&amp;amp;downloadId=202" target=_blank&gt;downloadable ZIP&lt;/A&gt; file&amp;nbsp;containing the plug-in.&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;New&amp;nbsp;tool - Eclipse plug-in for debugging Java ArcObjects code&lt;/STRONG&gt;&lt;BR&gt;&lt;EM&gt;Programming language(s):&lt;/EM&gt; Java&lt;BR&gt;&lt;EM&gt;Development platforms:&lt;/EM&gt; ArcGIS&amp;nbsp;Engine, ArcGIS Server&lt;/P&gt;
&lt;P&gt;As we approach another developer summit, I am glad to announce the availability of an Eclipse plug-in for ArcGIS Server and ArcGIS Engine Java Developers that will greatly simplify debugging ArcObjects code.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;About the plug-in&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;One of the most invaluable tools that developers have at their disposal is a debugger through which they can step through code one statement at a time and inspect objects in the application. As most of you may already know, java classes in the&amp;nbsp; ArcObjects API are really only proxies to underlying COM ArcObjects. As a result, examining these proxies in the debugger only reveals their internal details and not the state of the ArcObjects. This makes it difficult to find out information such as the co-ordinates of an Geometry, or the Layers in a MapServer. Consequently, developers have to sprinkle their code with System.out.printlns and analyze traces on the console to get this information. This approach is inconvenient and time consuming. &lt;/P&gt;
&lt;P&gt;With this new Eclipse plug-in, Java developers can examine the state of the underlying ArcObjects right in Eclipse IDE's Debug Perspective by enabling the "Show Logical Structure" option on the Expression and Variables window. Here’s an example of a Point object without the “Show Logical Structure” option enabled.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/2007_ednwebsite/picture1176.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/2007_ednwebsite/images/1176/331x244.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This information fails to provide any valuable insight into the underlying ArcObject and is not helpful in reasoning through a workflow while debugging. Now here’s the logical representation of the same object using the “Show Logical Structure” option enabled.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.esri.com/Dev/photos/2007_ednwebsite/picture1177.aspx" target=_blank&gt;&lt;IMG src="http://blogs.esri.com/Dev/photos/2007_ednwebsite/images/1177/332x437.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The logical representation presents more comprehensible information about the underlying ArcObject's state. This state is defined by the no-argument getter methods on it. You might sometimes see exception messages like “Exception Occurred: com.sun.jdi.InvocationException occurred invoking method” in the logical representation. This is normal and happens when some property of the ArcObject is not valid in the current context of the application.&lt;/P&gt;
&lt;P&gt;The underlying ArcObjects could be running remotely in a separate process as in the case of ArcGIS Server web applications, or in the same process like in ArcGIS Engine applications. Thus, both Engine and Server developers can take advantage of this plug-in to debug their applications. I am very excited to share this plug-in with you, and look forward to your feedback. Code on!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;How to get the plug-in&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Follow these steps to download and install the plug-in from the EDN Website:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In the Eclipse workbench, go to Help &amp;gt; Software Updates &amp;gt; Find and Install&lt;/LI&gt;
&lt;LI&gt;Select Search for new features to install, and click Next&lt;/LI&gt;
&lt;LI&gt;Create a New Remote Site for the URL&amp;nbsp; “http://downloads.esri.com/EDN/java/plugins/eclipse”&amp;nbsp; &lt;/LI&gt;
&lt;LI&gt;Enable this remote site and click Finish.&lt;/LI&gt;
&lt;LI&gt;Expand the EDN tree in Search Results, and select the ArcGIS Debug feature.&lt;/LI&gt;
&lt;LI&gt;Proceed to install the plug-in, and restart the workbench when prompted.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;EM&gt;Added 4/14/08&lt;/EM&gt; - If you are unable to access the plug-in from the URL in Step 3 above, we have also made it available as a &lt;A class="" href="http://edn.esri.com/index.cfm?fa=downloads.detail&amp;amp;downloadId=202" target=_blank&gt;downloadable ZIP file here&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.esri.com/Dev/aggbug.aspx?PostID=1175" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/ArcGIS+Engine/default.aspx">ArcGIS Engine</category><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/ArcGIS+Server/default.aspx">ArcGIS Server</category><category domain="http://blogs.esri.com/Dev/blogs/ednwebsite/archive/tags/Java/default.aspx">Java</category></item></channel></rss>