Sorry

This feed does not validate.

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://www.bloggingaboutjava.org/cms/wordpress/feed/atom/

  1. <?xml version="1.0" encoding="UTF-8"?><feed version="0.3"
  2.  xmlns="http://purl.org/atom/ns#"
  3.  xmlns:dc="http://purl.org/dc/elements/1.1/"
  4.  xml:lang="en"
  5.    >
  6. <title>Java Competence Centre LogicaCMG</title>
  7. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress" />
  8. <tagline>...All about Java technology...</tagline>
  9. <modified>2007-07-17T13:56:59Z</modified>
  10. <copyright>Copyright 2007</copyright>
  11. <generator url="http://wordpress.org/" version="2.0.2">WordPress</generator>
  12. <entry>
  13.   <author>
  14. <name>Emil van Galen</name>
  15. </author>
  16. <title type="text/html" mode="escaped"><![CDATA[Eclipse Europa is here]]></title>
  17. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/07/eclipse-europa-is-here/" />
  18. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/07/eclipse-europa-is-here/</id>
  19. <modified>2007-07-17T13:52:22Z</modified>
  20. <issued>2007-07-17T13:52:22Z</issued>
  21. <dc:subject>Java</dc:subject>
  22. <dc:subject>Development</dc:subject>
  23. <summary type="text/plain" mode="escaped"><![CDATA[Two weeks a brand new Eclipse called Europa has been released.
  24. This release is just as the previous one (Callisto; version 3.2) a combination a range of of Eclipse projects.
  25. So this release is not only one for the Java IDE, but also the Web Tools Platform (WTF),  Eclipse Modeling Framework (EMF), CDK, Eclipse Dynamic Language [...]]]></summary>
  26. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/07/eclipse-europa-is-here/"><![CDATA[<p>Two weeks a brand new Eclipse called Europa has been released.<br />
  27. This release is just as the previous one (Callisto; version 3.2) a combination a range of of Eclipse projects.<br />
  28. So this release is not only one for the Java IDE, but also the Web Tools Platform (WTF),  Eclipse Modeling Framework (EMF), CDK, Eclipse Dynamic Language Toolkit (DLTK), Eclipse Business Intelligence and Reporting Tools (BIRT) and much more.</p>
  29. <p>Since the whole Europa release is too large for the average developer, the best way is to only download it by starting of with the Platform Runtime which can be found <a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/index.php#PlatformRuntime">here</a><br />
  30. and install only the desired stuff using the Update Manager from Eclipse (&#8221;Help -&gt; Software Updates -&gt; Find and Install..&#8221; from the menu bar) via the &#8220;Europa Discovery Site&#8221;.</p>
  31. <p>After you installed your customized Eclipse IDE you can check New and Noteworthy from the <a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/whatsnew/eclipse-news-part1.html">Platform</a>, <a href="http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/whatsnew/eclipse-news-part2.html">Java Development Tools (JDT)</a> and <a href="http://www.eclipse.org/webtools/releases/2.0/newandnoteworthy/main.php">Web Tools</a>.<br />
  32. To summarize the new and noteworthy in Europa, I personally found the following relevant items:</p>
  33. <ul>
  34. <li>You can optionally use &#8220;Save Actions&#8221; (configured and enabled in the preferences) to perform all kind of actions when saving a Java editor in Eclipse. Possible actions are code formatting, adding missing @Override and @Deprecated annotations, Organize imports and removing trailing whitespace.</li>
  35. <li>Support for the Java Persistence API</li>
  36. <li>We can now finally benefit from a visual JSP / JSF Web-Page Editor</li>
  37. <li>Full JSF 1.2 support including a visual Faces configuration editor</li>
  38. <li>Long resource paths are now supported on Windows. Requires 1.5 or higher for it to work.</li>
  39. <li>Improves refactoring like refactoring directly inside the editor (without a dialog) and no need anymore to save your editors before doing a refactoring.</li>
  40. <li>Workspace relative paths are now possible for JavaDoc locations. This way it&#8217;s now possible to place a zip with the JavaDoc of a library inside your project and attach it to your library. The advantage is that each developer will automatically get the JavaDoc when the check-out the project from version control. This is especially helpful for commercial libraries for which you don&#8217;t have the source code.</li>
  41. <li>CTRL + 3 will give you a quick access to UI elements such as views, commands, preference pages etc.</li>
  42. <li>And finally for Eclipse is now fully functional for Windows Vista.</li>
  43. </ul>
  44. <p>The items I described above are just the tip of the iceberg. This because Europa consists of 21  Eclipse projects, so I barely scratched to surface so to speak.
  45. </p>
  46. ]]></content>
  47. </entry>
  48. <entry>
  49.   <author>
  50. <name>Okke van 't Verlaat</name>
  51. </author>
  52. <title type="text/html" mode="escaped"><![CDATA[javaone2007: JFX or rich clients revisited]]></title>
  53. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-jfx-or-rich-clients-revisited/" />
  54. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-jfx-or-rich-clients-revisited/</id>
  55. <modified>2007-05-10T15:56:04Z</modified>
  56. <issued>2007-05-10T15:56:04Z</issued>
  57. <dc:subject>javaone2007</dc:subject>
  58. <summary type="text/plain" mode="escaped"><![CDATA[Sun likes to call them ‘integrated rich clients’, a nice buzz word for reinventing user experience. Yesterday I visited two rich client related sessions. One about GWT, wich was more or less a copy of last years session, and one about JavaFX (formerly known as F3, nowadays already abbreviated to the better sounding JFX). Chris [...]]]></summary>
  59. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-jfx-or-rich-clients-revisited/"><![CDATA[<p>Sun likes to call them ‘integrated rich clients’, a nice buzz word for reinventing user experience. Yesterday I visited two rich client related sessions. One about GWT, wich was more or less a copy of last years session, and one about <a title="OpenJFX dot org" target="_blank" href="http://openjfx.org">JavaFX</a> (formerly known as F3, nowadays already abbreviated to the better sounding JFX). Chris Oliver amazed the audience with really stunning effects and smooth looking user interfaces: Definitely an Oehhh! and Aahh! session. It is too early to make up conclusions yet but it seems the Sun developers have gotten graphical interfaces, and especially the way an interface gets set-up to meet the design made by a professional design team, finally right. JFX introduces a new scripting languages, called JavaFX Script. Which is, when you ask me, a little bit redundant but, due to tongue slippery, I think the script part of it will disappear in normal human to human communication. (We aren’t calling java, JVM Script or are we?) But despite the name, the scripting language itself looks promising. It’s statically typed, which can be subject of religious language battles but that is out of the scope of this blog-entry, and it uses a declarative building styling to declare UI components. When compared to the XML variants like XUL, SVG but also Flex and Laszlo, a breeze to read. And when compared to regular Swing (or SWT!) probably a breeze to write also. In other words, refreshing.</p>
  60. <p>So, should we all make the move and forget Ajax or Flash? Maybe, but maybe not. (GWT is still pretty cool technology and as far as I have seen it, it is the best possible solution for rich browser apps. For example take a look at how the guys from Google crack performance issues. Nuff said).There are still some irritating issues to overcome. First of all there is no out of the box data binging support (for example to call a RESTful service and bind the results to user interface components). But maybe more problematic is the deployment model. Which is not there! Yes, Applets or Webstart but both need a ridiculous huge download for the latest JRE release. Not really user friendly. I have to admit, Sun has announced to work on this problem and promised to come up with a solution as soon as possible but in the meantime it is missing. And a bad deployment model at the moment there is a lot of momentum is marketing wise not really what you call handy. Missed opportunity?? Anyway, JFX is right here right now so for me it’s playing time.
  61. </p>
  62. ]]></content>
  63. </entry>
  64. <entry>
  65.   <author>
  66. <name>Okke van 't Verlaat</name>
  67. </author>
  68. <title type="text/html" mode="escaped"><![CDATA[javaone2007: just a meme]]></title>
  69. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-just-a-meme/" />
  70. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-just-a-meme/</id>
  71. <modified>2007-05-09T16:05:48Z</modified>
  72. <issued>2007-05-09T16:05:48Z</issued>
  73. <dc:subject>javaone2007</dc:subject>
  74. <summary type="text/plain" mode="escaped"><![CDATA[After visiting Neil Ford’s excellent and inspiring presentation about domain specific languages, I was wondering if a DSL is actually nothing but a kind of computer instruction slang?
  75. ]]></summary>
  76. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-just-a-meme/"><![CDATA[<p class="MsoNormal">After visiting <a target="_blank" title="memeagora" href="http://memeagora.blogspot.com/">Neil Ford</a>’s excellent and inspiring presentation about domain specific languages, I was wondering if a DSL is actually nothing but a kind of computer instruction slang?</p>
  77. ]]></content>
  78. </entry>
  79. <entry>
  80.   <author>
  81. <name>Okke van 't Verlaat</name>
  82. </author>
  83. <title type="text/html" mode="escaped"><![CDATA[javaone2007: it seems the sun is shifting]]></title>
  84. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-it-seems-the-sun-is-shifting/" />
  85. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-it-seems-the-sun-is-shifting/</id>
  86. <modified>2007-05-09T16:03:36Z</modified>
  87. <issued>2007-05-09T16:03:36Z</issued>
  88. <dc:subject>javaone2007</dc:subject>
  89. <summary type="text/plain" mode="escaped"><![CDATA[JavaOne 2007 is only just one day on its way, the first couple of 81 hours have been past, and my maximum information observing level has been reached already: Too much to check out the coming weeks. Too many high impact announcements. Too many cool new technologies, too many new tools and too many new [...]]]></summary>
  90. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/javaone2007-it-seems-the-sun-is-shifting/"><![CDATA[<p>JavaOne 2007 is only just one day on its way, the first couple of 81 hours have been past, and my maximum information observing level has been reached already: Too much to check out the coming weeks. Too many high impact announcements. Too many cool new technologies, too many new tools and too many new paradigm shifts.</p>
  91. <p>Thou shall open up everthing you got, except for some key strategically important technologies, and thou shall spread the words to open up everything. Under the safe covers of being a community is more important than being a regular old company, open source is the new paradigm. Open opportunities as Sun is like to call it. Great move I think! And its paying off already. Except for the JDK, which is conceptually a big step to open up but practically nothing but a small give-away, goofy things are seing the light under Sun’s GPLv2 umbrella.</p>
  92. <p>But Sun is making more, not unexpected but also not foreseen, movements. Where, in my very humble opinion, Sun was traditionally not very well doing in the area of user interaction (Does the term metal look and feel still rings a bell?), they seem to have been paying more attention and energy on this topic. Possibly driven by competition, Sun (just like Microsoft by the way) is following the vision of MacroMedia (indeed, not Adobe’s vision unless vision can be bought) and has been moving into the direction of rich internet applications (or integrated rich clients as they tend to call it). <a title="Chris Oliver on F3" target="_blank" href="http://blogs.sun.com/chrisoliver/category/F3">Form follows function</a> has become JavaFX: A stunning way to re-implement applets. Hopefully marketing can handle it this time.</p>
  93. <p>More news? Yep Real time java has finally been born so JSR-1 can be removed from the todo-list. Blu-Ray is currently hot topic. And Glassfish V3, the reference implementation of EE5, only needs a 100Kb bootstrap and starts up in less then half a second unless some serious applications have been deployed. (By the way, glassfish seems to have a pretty slick architecture for an application server and another by the way seems to be the question whether we want to use commercial available application servers from the old pre-ee5-era if this thing is really as good as the five minute demo has shown us.) Oh, and before I forget, everyone should sheck out NASA’s project <a title="A nice breeze from NASA" target="_blank" href="http://worldwind.arc.nasa.gov/">World Wind</a>, google earth as a swing widget. And in the tradition of the new openness completely free to abuse!</p>
  94. <p>Finally, and this could be experienced during last years conference already, other languages than Java are not ‘wrong’ or ‘dirty’ anymore. Ruby has been adopted as a first class citizen of the virtual machine and the JRuby team has not been hired to implement a funny scripting language, but seems to be hired to jump on the bandwagon not as a an ignorant passenger but more as fully armed musketeers. It is very impressive to see how Sun is dealing with the shift from java to other languages. And it is also very impressive to see the progress that has been made in tool support. Last years netbeans hype was a bit overdone but this year there are enough reasons to promote the upcoming <a title="Netbeans 6 preview" target="_blank" href="http://www.netbeans.org/servlets/NewsItemView?newsItemID=1043">version 6</a>. As far as I could see, changes are fair Netbeans will become the platform of choice to develop Ruby, and especially Rails, applications.
  95. </p>
  96. ]]></content>
  97. </entry>
  98. <entry>
  99.   <author>
  100. <name>Ruben Sprangemeijer</name>
  101. </author>
  102. <title type="text/html" mode="escaped"><![CDATA[Very interesting blog about J2EE performance]]></title>
  103. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/very-interesting-blog-about-j2ee-performance/" />
  104. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/05/very-interesting-blog-about-j2ee-performance/</id>
  105. <modified>2007-05-01T08:36:56Z</modified>
  106. <issued>2007-05-01T08:36:56Z</issued>
  107. <dc:subject>General</dc:subject>
  108. <dc:subject>Java</dc:subject>
  109. <dc:subject>J2ee</dc:subject>
  110. <summary type="text/plain" mode="escaped"><![CDATA[Hi all,
  111. Vincent Partington from Xebia has been blogging about  J2EE performance problems he and his colleagues have encountered.
  112. They have compiled a top 10 list. It is a very interesting read, as it is all very recognizable  
  113. See http://blog.xebia.com/2007/04/30/ejapp-top-10-countdown-wrap-up/
  114. (and TheServerSide.com as that is where I stumbled across the link to Vincents blogposts)
  115.  
  116. ]]></summary>
  117. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/05/very-interesting-blog-about-j2ee-performance/"><![CDATA[<p>Hi all,</p>
  118. <p>Vincent Partington from Xebia has been blogging about  J2EE performance problems he and his colleagues have encountered.</p>
  119. <p>They have compiled a top 10 list. It is a very interesting read, as it is all very recognizable <img src='http://www.bloggingaboutjava.org/cms/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
  120. <p>See <a href="http://blog.xebia.com/2007/04/30/ejapp-top-10-countdown-wrap-up/">http://blog.xebia.com/2007/04/30/ejapp-top-10-countdown-wrap-up/</a></p>
  121. <p>(and <a href="http://www.theserverside.com/news/thread.tss?thread_id=45187">TheServerSide.com</a> as that is where I stumbled across the link to Vincents blogposts)
  122. </p>
  123. ]]></content>
  124. </entry>
  125. <entry>
  126.   <author>
  127. <name>Okke van 't Verlaat</name>
  128. </author>
  129. <title type="text/html" mode="escaped"><![CDATA[javaone2007: coolest session title]]></title>
  130. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/04/javaone2007-coolest-session-title/" />
  131. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/04/javaone2007-coolest-session-title/</id>
  132. <modified>2007-04-19T14:16:27Z</modified>
  133. <issued>2007-04-19T14:16:27Z</issued>
  134. <dc:subject>General</dc:subject>
  135. <dc:subject>javaone2007</dc:subject>
  136. <summary type="text/plain" mode="escaped"><![CDATA[This years javaone conference is about to happen and since my conference pass has been ordered it is time to wrestle myself through the program in order to find the most optimal schedule in terms of quality and time. Meaning a lot of reading, shuffling, weighting and head-scrabbing. A process which probably will last untill [...]]]></summary>
  137. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/04/javaone2007-coolest-session-title/"><![CDATA[<p>This years javaone conference is about to happen and since my conference pass has been ordered it is time to wrestle myself through the program in order to find the most optimal schedule in terms of quality and time. Meaning a lot of reading, shuffling, weighting and head-scrabbing. A process which probably will last untill the last session of the conference. But some sessions are a definitive certainty. And one of these sessions tagged whith the coolest session title of the conference:</p>
  138. <p><a target="_blank" href="http://www28.cplan.com/cc158/session_details.jsp?isid=286707&#038;ilocation_id=158-1&#038;ilanguage=english">Java™ Puzzlers, Episode VI: The Phantom-Reference Menace/Attack of the  Clone/Revenge of the Shift<br />
  139. </a></p>
  140. <p>After last years &#8216;Tiger Traps&#8217;, changes are big this session will end up high in this years top-10!
  141. </p>
  142. ]]></content>
  143. </entry>
  144. <entry>
  145.   <author>
  146. <name>Okke van 't Verlaat</name>
  147. </author>
  148. <title type="text/html" mode="escaped"><![CDATA[Two-0-Four, Twelve times faster]]></title>
  149. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/04/two-0-four-twelve-times-faster/" />
  150. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/04/two-0-four-twelve-times-faster/</id>
  151. <modified>2007-04-19T10:09:43Z</modified>
  152. <issued>2007-04-19T10:09:43Z</issued>
  153. <dc:subject>General</dc:subject>
  154. <dc:subject>Java</dc:subject>
  155. <summary type="text/plain" mode="escaped"><![CDATA[Last week the latest release of the Spring frame work was announced on the springframeworkdotorg website. Nothing special, just an .0.x bugfix and enhancement release, actually nothing exiting. So why is it worth a blog entry? Because of the curious announcement that spring bean creation has gone through tremendous performance improvements. Let me Quote: “Regarding [...]]]></summary>
  156. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/04/two-0-four-twelve-times-faster/"><![CDATA[<p class="MsoNormal"><span style="font-size: 12pt">Last week the latest release of the Spring frame work was announced on the springframeworkdotorg website. Nothing special, just an .0.x bugfix and enhancement release, actually nothing exiting. So why is it worth a blog entry? Because of the curious announcement that spring bean creation has gone through tremendous performance improvements. Let me <a title="12 times faster" target="_blank" href="http://www.springframework.org/node/443">Quote</a>: “<em>Regarding the performance improvements, repeated creation of Spring bean instances is up to 12 times faster in this release than previous versions of Spring 2.0. AspectJ-based weaving performance has also increased by a significant factor. </em>“.</span></p>
  157. <p class="MsoNormal"><span style="font-size: 12pt">Wow, twelve times! That is a pretty precise and accurate number! So not ten, not eleven but exactly twelve times faster! But to bad, my manager asked me to speed up bean creation time by a factor thirteen so I think I need to switch to Guice instead.</span></p>
  158. <p class="MsoNormal"><span style="font-size: 12pt">The problem in this statement is not the number itself but the fact a number is used to express improvements in an area the expresser has no full control. Currently I&#8217;m downloading both the 0.3 and 0.4 releases of Spring2 and my first conclusion is the 0.4 release is about 1.01 times bigger in terms of megabytes (off the record, 62.2 MB for a framework download is pretty fat). My second conclusion is the 0.4 release got downloaded 1.3 times faster. Both are facts, (it&#8217;s happening straight in front of me!) but the last fact does not express anything! There are too many factors that are influencing this magic number. Same with the 12 times faster statement. I won&#8217;t argue about the fact 2.0.4 has improved bean creation and I immediately believe there situations the number is matched by the comma. But personally, it says nothing to me: I&#8217;ll wake up when someone tells me the startup time of all my spring based apps have been square rooted. And even then I&#8217;ll point  to the useless sleep statements in my constructors which are sitting there only to invalidate bold performance claims.</span></p>
  159. <p class="MsoNormal"><span style="font-size: 12pt">Note I&#8217;m not trying to nitpick on anything; every improvement is more than welcome, as long as my beans see the light, but this kind of statements are besides hollow, technically completely insignificant. Why not give insight *what* has been done to improve performance. Like:</span></p>
  160. <ul type="disc">
  161. <li class="MsoNormal"><span style="font-size: 12pt">AbstractAutoProxyCreator      <strong>caches </strong>advice information per bean, for efficient prototype      creation with auto-proxying</span></li>
  162. <li class="MsoNormal"><span style="font-size: 12pt">AnnotationAwareAspectJAutoProxyCreator      <strong>caches </strong>Advisors for singleton @Aspect aspects, increasing      performance</span></li>
  163. <li class="MsoNormal"><span style="font-size: 12pt">BeanWrapperImpl      mimimizes bean name parsing overhead and <strong>caches </strong>parsed property      path tokens</span></li>
  164. <li class="MsoNormal"><span style="font-size: 12pt">DefaultListableBeanFactory      <strong>caches </strong>pre-converted property values as far as possible</span></li>
  165. <li class="MsoNormal"><span style="font-size: 12pt">ConstructorResolver      <strong>caches </strong>the resolved constructor or factory method, for faster      re-creation of prototype instances</span></li>
  166. <li class="MsoNormal"><span style="font-size: 12pt">ConstructorResolver      <strong>caches </strong>converted argument values, to avoid conversion overhead for      re-created prototype instances</span></li>
  167. </ul>
  168. <p class="MsoNormal"><span style="font-size: 12pt">(As one can see, &#8216;grep &#8220;cache&#8221; changelog.txt&#8217; clarifies everything)<br />
  169. </span>
  170. </p>
  171. <p class="MsoNormal"><span style="font-size: 12pt">Nevertheless, I’m pretty happy with this release and I’m only writing this down as an advice for the upcoming 2.0.5! And now the changelog is still open on my desktop, I can end this blog entry by probably the most important enhancement:</span></p>
  172. <ul>
  173. <li><span style="font-size: 12pt">updated JRuby support for <a target="_blank" href="http://docs.codehaus.org/display/JRUBY/2007/03/05/JRuby+0.9.8+Released">JRuby 0.9.8</a> !!<br />
  174. </span></li>
  175. </ul>
  176. <p><span style="font-size: 12pt">By the way, JRuby 0.9.8 claims IO sometimes to be 6.5 times faster &#8230;&#8230;<br />
  177. </span>
  178. </p>
  179. ]]></content>
  180. </entry>
  181. <entry>
  182.   <author>
  183. <name>Jesper de Jong</name>
  184. </author>
  185. <title type="text/html" mode="escaped"><![CDATA[Differences between C++, Java and C#]]></title>
  186. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/04/differences-between-c-java-and-c/" />
  187. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/04/differences-between-c-java-and-c/</id>
  188. <modified>2007-04-04T19:04:15Z</modified>
  189. <issued>2007-04-04T19:04:15Z</issued>
  190. <dc:subject>Java</dc:subject>
  191. <dc:subject>Nice to know</dc:subject>
  192. <dc:subject>Development</dc:subject>
  193. <summary type="text/plain" mode="escaped"><![CDATA[Bjarne Stroupstrup, the inventor of the C++ programming language, has an interesting technical FAQ about C++. He has an example in the FAQ that inspired me to try this out in C++, Java and C#. Have a look at the following C++ code. What do you think this prints?
  194. (NOTE: The C++ code looks a bit [...]]]></summary>
  195. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/04/differences-between-c-java-and-c/"><![CDATA[<p>Bjarne Stroupstrup, the inventor of the C++ programming language, has an interesting <a href="http://www.research.att.com/~bs/bs_faq2.html">technical FAQ</a> about C++. He has an example in the FAQ that inspired me to try this out in C++, Java and C#. Have a look at the following C++ code. What do you think this prints?</p>
  196. <p>(NOTE: The C++ code looks a bit weird. I had to replace the angle brackets with &#8216;[&#8217; and &#8216;]&#8217; because the WordPress editor does not let me enter angle brackets properly, even if I edit the HTML code manually&#8230;).</p>
  197. <p> </p>
  198. <pre><code> #include [iostream]   // NOTE: Use angle brackets here
  199.  
  200. class Super {
  201. public:
  202.     void method(int i) {
  203.         std::cout [[ "method(int): " [[ i [[ std::endl; // NOTE: Use angle brackets here
  204.     }
  205. };
  206.  
  207. class Sub : public Super {
  208. public:
  209.     void method(double d) {
  210.         std::cout [[ "method(double): " [[ d [[ std::endl; // NOTE: Use angle brackets here
  211.     }
  212. };
  213.  
  214. int main(int argc, char* argv[]) {
  215.     Sub obj;
  216.  
  217.     // Which method is called for each of these statements, the int or the double version?
  218.     obj.method(10);
  219.     obj.method(3.2);
  220.  
  221.     return 0;
  222. } </code></pre>
  223. <p>Here is the Java version. What do you think this prints? Do you think Java works the same as C++ or not?</p>
  224. <p> </p>
  225. <pre><code> class Super {
  226.     public void method(int i) {
  227.         System.out.println("method(int): " + i);
  228.     }
  229. }
  230.  
  231. class Sub extends Super {
  232.     public void method(double d) {
  233.         System.out.println("method(double): " + d);
  234.     }
  235. }
  236.  
  237. public class Main {
  238.     public static void main(String[] args) {
  239.         Sub obj = new Sub();
  240.  
  241.         // Which method is called for each of these statements, the int or the double version?
  242.         obj.method(10);
  243.         obj.method(3.2);
  244.     }
  245. } </code></pre>
  246. <p>And lastly the C# version. What do you think - does C# work the C++ or the Java way, or is it the same - or different?</p>
  247. <p> </p>
  248. <pre><code> namespace Example {
  249.     class Super {
  250.         public void method(int i) {
  251.             System.Console.WriteLine("method(int): " + i);
  252.         }
  253.     }
  254.  
  255.     class Sub : Super {
  256.         public void method(double d) {
  257.             System.Console.WriteLine("method(double): " + d);
  258.         }
  259.     }
  260.  
  261.     class Program {
  262.         static void Main(string[] args) {
  263.             Sub obj = new Sub();
  264.  
  265.             // Which method is called for each of these statements, the int or the double version?
  266.             obj.method(10);
  267.             obj.method(3.2);
  268.         }
  269.     }
  270. } </code></pre>
  271. ]]></content>
  272. </entry>
  273. <entry>
  274.   <author>
  275. <name>Maarten Metz</name>
  276. </author>
  277. <title type="text/html" mode="escaped"><![CDATA[Javacard introduction]]></title>
  278. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/03/javacard-introduction/" />
  279. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/03/javacard-introduction/</id>
  280. <modified>2007-03-23T08:21:56Z</modified>
  281. <issued>2007-03-23T08:21:56Z</issued>
  282. <dc:subject>General</dc:subject>
  283. <summary type="text/plain" mode="escaped"><![CDATA[A couple of weeks ago I joined a project that involved javacard technology. A search for &#8216;javacard&#8217; on this site returned the rather disappointing &#8216;Sorry, no posts matched your criteria.&#8217; on my screen. Today, there are literally billions of smartcards on the market and a large portion of them are javacards! Reason enough to add [...]]]></summary>
  284. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/03/javacard-introduction/"><![CDATA[<p>A couple of weeks ago I joined a project that involved javacard technology. A search for &#8216;javacard&#8217; on this site returned the rather disappointing &#8216;Sorry, no posts matched your criteria.&#8217; on my screen. Today, there are literally billions of smartcards on the market and a large portion of them are javacards! Reason enough to add a javacard blog to this site, starting with a quick introduction into smartcards.</p>
  285. <p>A smart card is nothing more than a chip (the &#8217;smart&#8217; portion) on a piece of plastic (the &#8216;card&#8217; portion). Usually it doesn&#8217;t have a power supply, keyboard, mouse or display attached to it. To communicate with the outside world, it is placed in or nearby a &#8216;card acceptance device&#8217; (CAD) that is connected to a computer. This setup creates all kinds of business opportunities like: identification and physical access (event- and travel ticketing), financial transactions, discount card, membership card, pre-paid cards, etc.</p>
  286. <p>Enter java card. Java card technology enables programmers to write software for smart cards in the java programming language. The javacard programming environment, - virtual machine and - runtime environment can be looked upon as the light versions of their big brothers. Among other things, javacard technology doesn&#8217;t support garbage collection, threads, ints, longs, doubles, floats, strings and multi-dimensional arrays. Yikes! Programming javacard applications (applets) made me count my blessings. The normal, well-known java programming environment is really quite fancy! A simple task like subtracting € 3.25 in a javacard e-wallet applet already forces you to juggle with a couple of shorts. No floats or doubles, remember!</p>
  287. <p align="center"><img height="537" alt="javacard application architecture" src="http://www.bloggingaboutjava.org/cms/wordpress/wp-content/uploads/2007/03/javacard%20application%20architecture1.gif" width="771" /> <br />
  288. <strong>Figure 1 - javacard application architecture</strong></p>
  289. <p>However, expressing yourself in a much more primitive environment isn&#8217;t so bad at all. It&#8217;s amazing how fast you can get used to an environment that lacks the common tools. For example: the java card communicates with a CAD using a byte oriented protocol. The CAD sends a command APDU (Application Protocol Data Unit) to the card and the card sends a response APDU in return. Figure 1 provides the reader with an overview of the components of a typical javacard application. So instead of calling a simple method like &#8217;subtract(3.25)&#8217;, you could be sending the lovely APDU byte array &#8216;80 01 AE 0D 04 00 03 19 05&#8242;. When I was demonstrating an applet to a colleague I heard myself saying: &#8216;You see: the card returns 03 FF 4C 00 19 90 00; it works!&#8217;. Of course he thought I had taken leave of my senses, but the point I&#8217;m trying to make is that ‘the human mind’ gets used to these circumstances pretty quickly. Maybe a debug file would be nicer, but when necessary, &#8216;03 FF 4C 00 19 90 00&#8242; will do.</p>
  290. <p>Taken together, programming with handicaps isn&#8217;t so bad. And because there&#8217;s such a huge market out there, the next time you feel like surfing the web, I suggest you skip youtube and take a look at some nice introductions into <a href="http://www.smartcardbasics.com/index.html">smartcards</a> and <a href="http://developers.sun.com/techtopics/mobility/javacard/articles/javacard1/">javacards</a>. Programming with more tools isn&#8217;t always necessarily better, and programming with less tools can be a nice challenge. Remember Maslows quote &#8216;When all you&#8217;ve got is a hammer, every problem starts looking like a nail&#8217;. It sure does!</p>
  291. ]]></content>
  292. </entry>
  293. <entry>
  294.   <author>
  295. <name>Jan Peter Ruiter</name>
  296. </author>
  297. <title type="text/html" mode="escaped"><![CDATA[NLJUG gives away free Spring courses]]></title>
  298. <link rel="alternate" type="text/html" href="http://www.bloggingaboutjava.org/cms/wordpress/2007/02/nljug-gives-away-free-spring-courses/" />
  299. <id>http://www.bloggingaboutjava.org/cms/wordpress/2007/02/nljug-gives-away-free-spring-courses/</id>
  300. <modified>2007-02-26T11:53:00Z</modified>
  301. <issued>2007-02-26T11:53:00Z</issued>
  302. <dc:subject>General</dc:subject>
  303. <summary type="text/plain" mode="escaped"><![CDATA[On my new job all Java consultants have a NLJUG membership. So when I joined the party I was given a NLJUG membership too. The name did ring a bell but a very faint one, so I decided to check out their website. NLJUG is a Dutch community of java developers. The first thing that [...]]]></summary>
  304. <content type="text/html" mode="escaped" xml:base="http://www.bloggingaboutjava.org/cms/wordpress/2007/02/nljug-gives-away-free-spring-courses/"><![CDATA[<p>On my new job all Java consultants have a NLJUG membership. So when I joined the party I was given a NLJUG membership too. The name did ring a bell but a very faint one, so I decided to check out their website. NLJUG is a Dutch community of java developers. The first thing that caught my eye on their website was a Spring course given by or at least sponsored by NLJUG. The Spring framework caught my attention some time ago, but I never got around getting familiar with it. I decided that it was time to get acquainted with the Spring framework. This was a great opportunity and one other advantage of the course was that is free of charge.  </p>
  305. <p>There are a few things they would like to know about every possible participant, like how many years of Java experience you have and how much time you have for exercises. After I send them an email telling them I had lots and lots of time and that I was really interested in learning Spring I had to wait and see if the would take the bait. After two week I got an email from NLJUD in which they congratulated me with my enrollment in the Spring course. I was told that I was very lucky with my enrollment, because there was a lot of response for this course. I think the exaggerated a bit but the important thing was I could participate and I was looking forward to it.<br />
  306. The course was given by two experienced Spring developers who would lead us into the world of Spring. Our teachers had there work cut out for them. The entire course consists of four study sessions followed by a session in which we would get our certificate, something like a graduation day. Every study session would treat one specific subject.</p>
  307. <ul>
  308. <li>Day one:    Power to the POJO.</li>
  309. <li>Day two:    Spring for the Web.</li>
  310. <li>Day three: Connecting your database.</li>
  311. <li>Day four:   Remoting.</li>
  312. </ul>
  313. <p>Every study session has three or four exercises attached to it. Because there the study sessions are two weeks apart there’s enough time to finish the exercises and send them in for evaluating.<br />
  314. There is a website for everybody who participates in the course. Here you can download the sheets shown on the study sessions, view the exercises and afterwards view the solutions. There is even a page where you can view your progress and that of everybody else. It shows your score for every solution you have provided and a big red cross for every exercise you failed or forgot to turn in. Some exercises are not mandatory and it turns out hardly anybody provides solutions for them. I don’t know if it is just a lack of time but at the end only three of us have provided solutions for almost all exercises.  </p>
  315. <p>According to the teachers the first exercises should take about eight hours. Maybe it’s my inexperience with a XML configurable frameworks but it took me a bit more. After a little fight with Tomcat and Eclipse I’m ready to go. The first exercise is about configuring and wiring Spring beans. It turns out the sheets shown during the first day do not contain enough information to make the exercises. Luckily someone advised me to buy “Java Development with the Spring Framework” and after reading the first chapters the exercises were a piece of cake.  </p>
  316. <p>This course of action seems to work very well for me. In the two weeks in-between courses I read the chapters that are covering the subjects of the next study session. It makes the study sessions easy to follow and it gives me the opportunity to ask questions about parts I did completely understand. Another advantage is that the exercises are not as abstract as they were the first time. It still takes quite some time to make all the exercises, but after the first exercise of the week is complete, the other exercises are more or less easy going.  </p>
  317. <p>The final session was a more of a meeting. Most participants took the time to come together in Hilversum to conclude the Spring course. We discussed the last exercises for a short time and then it was time for drinks and snacks. The rest of the time was spent on talk about our experiences in general and with the course we just finished. Most people we quite satisfied with the sessions that were provided. After we thanked them for there time and effort it was time to go home, with a certificate telling us we know something bout Spring.  </p>
  318. <p>Looking back at the Spring course I think it was worth my time. The exercises gave me insight in how to use Spring. The study sessions were a bit too long for my taste, especially because they were three hour evening sessions in Utrecht. If you planned to participate in the next course somewhere in spring 2007, you should ask yourself if you are willing to spend some time making exercises. If not I suggest you get yourself a good book, cause the study session alone are probably not worth your time.  
  319. </p>
  320. ]]></content>
  321. </entry>
  322. </feed>
  323.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda