jhurley's bloghttp://www.java.net/blogs/jhurley
enJava Cityhttp://www.java.net/blog/jhurley/archive/2007/05/java_city.html
<!-- 304 | 0 --><img src="/images/people/jim_hurley.jpg" border="0", align="left" /><p>Taking a little break from the conference to recharge, I took a walk this morning on the Embarcadero (down by the Bay), and lo and behold -- ran across "Red's Java House". After breathing, living, and sleeping everything Java for 3 days -- I thought it was humorous, and took a picture of it:</p>
<p><img alt="Reds_Java_1.JPG" src="http://weblogs.java.net/blog/jhurley/archive/Reds_Java_1.JPG" width="286" height="214" /></p>
<p><img alt="Reds_Java_2.JPG" src="http://weblogs.java.net/blog/jhurley/archive/Reds_Java_2.JPG" width="286" height="214" /><br />
<br><br><br />
I continued along, and ran into the "Java House"... Java is everywhere! ;-) (Looked like a cool place):<br />
<br><br><br />
<img alt="Java_House_1.JPG" src="http://weblogs.java.net/blog/jhurley/archive/Java_House_1.JPG" width="286" height="214" /></p>
<p><img alt="Java_House_2.JPG" src="http://weblogs.java.net/blog/jhurley/archive/Java_House_2.JPG" width="286" height="214" /><br />
<br><br><br />
With JavaOne being in San Francisco for 12 years now -- maybe it really is "Java City".<br />
<br><br><br />
Drink it in.</p>
http://www.java.net/blog/jhurley/archive/2007/05/java_city.html#commentsJavaOneFri, 11 May 2007 05:48:42 +0000jhurley237902 at http://www.java.netSession Review: TS-8434 Ajax Push (Comet) with JBIhttp://www.java.net/blog/jhurley/archive/2007/05/session_review.html
<!-- | 0 --><p>I attended the session <b><a href="http://www28.cplan.com/cc158/sessions_catalog.jsp?ilc=158-1&amp;ilg=english&amp;isort=&amp;isort_type=&amp;is=yes&amp;icriteria1=+&amp;icriteria2=+&amp;icriteria7=+&amp;icriteria9=TS-8434&amp;icriteria8=&amp;icriteria3=">TS-8434: Ajax Push (a.k.a. Comet) with Java Business Integration (JBI)</a></b> this afternoon. Here's a report...<br />
<br><br><br />
The room was very packed and there was a long line of people (including me)<br />
waiting in the 'standby line' to get in. Overall the talk was pretty good. I thought the<br />
speaker did a good job laying things out and explaining them. The "Demo" he did was<br />
*very* difficult to see on the screen, and a bit hard to follow. I was drawn to the session by<br />
the abstract ("<i>This session shows how to push your critical business information out to<br />
Ajax clients and the browser--with lower latency and without compromising scalability or<br />
system performance.</i>").<br />
<br><br><br />
If you're not familiar with Ajax Push (Comet), there's a very good article, <a<br />
href="http://www.webtide.com/downloads/whitePaperWhyAjax.html">Why Ajax<br />
Comet?</a>, that you might want to check out.<br />
<br><br><br />
Here are some of my notes from the session:<br />
<br></p>
<hr>
<br><br />
* What is Ajax Push Good For?<br />
<br></p>
<ul>
<li>Use it to create highly responsive, event-driven applications<br />
in a browser</li>
<li>Pros: compared to (standard) Ajax -- lower latency (not dependent<br />
on polling frequency)</li>
<li>Example apps: Gmail and Google Talk, KnowNow, JotLive, etc</li>
</ul>
<p>* How does "Push" to a Browser work? (pushing data to a browser)</p>
<ul>
<li>Deliver data over a previously opened connection... always "keep a<br />
connection open" (back channel)</li>
</ul>
<p>* Architectural Challenges</p>
<ul>
<li>Using blocking, synchronous techn will result in a blocked thread<br />
for each open connection that is "waiting"</li>
<ul>
<li>will consume memory</li>
<li>lowers scalability and can effect perf</li>
<li>to get the JVM to scale up to 10K threads+ needs<br />
specific tuning and is not an efficient way to do this</li>
</ul>
</ul>
<p><br><br />
* Technology Solutions - use NIO non-blocking sockets to<br />
avoid blocking a thread per connection, use technologies that support<br />
asynchronous request processing.<br />
<br><br><br />
* How does JBI fit into the picture?</p>
<ul>
<li>the JBI 1.0 (JSR 208) framework provides the basis for building<br />
loosely coupled composite apps by combining services</li>
<li>JBI is inherently async, which complements the async nature<br />
of Ajax Push</li>
</ul>
<p>* Potential drawbacks and pitfalls</p>
<ul>
<li>beware of flooding clients with too many events<br />
(don't go overboard pushing out events too rapidly)</li>
<li>firewalls may terminate connections after a certain<br />
amount of time</li>
<li>solution: re-establish connection after tear-down or at certain intervals</li>
<li>Re: security -- very similar to standard Ajax apps</li>
</ul>
<p>* Summary</p>
<ul>
<li>pushing data to the web client can form a crucial tool in the dev arsenal when latency is impt</li>
<li>"long poll" is straight forward and portable</li>
<li>"streaming" today is more complex and has portability implications</li>
<li>JBI complements the async nature of Ajax push</li>
</ul>
http://www.java.net/blog/jhurley/archive/2007/05/session_review.html#commentsJavaOneFri, 11 May 2007 04:21:21 +0000jhurley237906 at http://www.java.netPhoto Op - a Blackbox in Mosconehttp://www.java.net/blog/jhurley/archive/2007/05/photo_op_a_blac.html
<!-- 221 | 0 --><img src="/images/people/jim_hurley.jpg" border="0", align="left" /><p>In what has to be the most photographed item at JavaOne this year.. there is a <a href="http://www.sun.com/emrkt/blackbox/index.jsp">Blackbox</a> inside the JavaOne Pavilion at the Moscone Center.<br />
<br><br><br />
<img alt="Blackbox_J1.JPG" src="http://weblogs.java.net/blog/jhurley/archive/Blackbox_J1.JPG" width="607" height="354" /><br />
<br><br><br />
Project Blackbox is a virtualized datacenter available in a shipping container, and it's presence here is part of a <a href="http://www.sun.com/events/st/loc.jsp">Worldwide tour</a>.<br />
<br><br><br />
It's certainly a sight to see. They're giving tours of the inside... but you'll have to wade through the people taking pictures to get to it. :-)</p>
http://www.java.net/blog/jhurley/archive/2007/05/photo_op_a_blac.html#commentsJavaOneThu, 10 May 2007 00:34:54 +0000jhurley237877 at http://www.java.netSweet Carolinehttp://www.java.net/blog/jhurley/archive/2007/05/sweet_caroline.html
<!-- | 0 --><p>There's a small presence at JavaOne... but an advanced research project at Sun, "<b>Project Caroline</b>", is gaining some *real* interest at the conference.<br />
<br><br><br />
Project Caroline is a hosting platform designed to support SaaS providers in the development and delivery of dynamically scalable Internet-based services. The key idea around the platform is to present a pool of distributed compute, storage, and networking resources as a single system, and to provide developers with a unified platform for allocating and controlling these resources. Developers can then create services and applications that automatically flex their own use of these resources.<br />
<br><br><br />
There's a <a href="http://java.sun.com/javaone/sf/pavilion/pods.jsp#981">Pod #981</a> in the Pavilion with a cool demo of an application that deploys itself (allocates VMs, mounts FS, sets up networking rules/load balancing) onto the platform. It automatically scales up (and down) based on simulated client load. You can also stage a new version (so as not to interrupt the running production application) in the same environment, and do remote debugging. It's pretty cool.<br />
<br><br><br />
There's a session tomorrow (Wed) morning (9:35am, Moscone Esplanade 301): <a href="http://www28.cplan.com/cc158/sessions_catalog.jsp?ilc=158-1&amp;ilg=english&amp;isort=&amp;isort_type=&amp;is=yes&amp;icriteria1=+&amp;icriteria2=+&amp;icriteria7=+&amp;icriteria9=&amp;icriteria8=Caroline&amp;icriteria3=">Project Caroline: Platform as a Service, at Your Service, for Your Service</a> .<br />
<br><br><br />
There's also a brief web page<br />
<a href="http://research.sun.com/projects/caroline">here</a>.</p>
http://www.java.net/blog/jhurley/archive/2007/05/sweet_caroline.html#commentsDistributedWed, 09 May 2007 01:52:40 +0000jhurley237846 at http://www.java.net"Sliders gone Wild!" -- Notes from the Opening Keynotehttp://www.java.net/blog/jhurley/archive/2007/05/sliders_gone_wi.html
<!-- | 0 --><p>John Gage (as tradition dictates) did his usual great job opening the conference, and handed off to Rich Green to run the show. Rich had executives from Ericsson, NASDAQ, Sony, etc join him on stage for announcements and tales on how they're using Java.<br />
<br><br><br />
Some notes from the announcements:<br />
<br><br><br />
* NetBeans<br></p>
<ul>
<li>active users are up 92%</li>
<li><a href="http://www.netbeans.org/community/releases/60/index.html">NetBeans 6.0</a> preview is out:</li>
<ul>
<li>includes dynamic scripting with Java, JRuby 1.0, and JavaScript</li>
<li>GUI builder which further simplifies client applications</li>
<li>Robust new editor</li>
<li>Modular packs for everything you need (mobility, C/C++, Web, etc)</li>
</ul>
</ul>
<p><br><br />
* OpenJDK<br></p>
<ul>
<li>open source Java is here!</li>
<li><a href="http://comunity.java.net/openjdk/">OpenJDK project</a> -- open source, buildable Java Development Kit</li>
</ul>
<p><br><br />
* JavaFX<br></p>
<ul>
<li>Consumer -focused family of Java technologies</li>
<li>High impact consumer markets</li>
<li>based on Java SE</li>
</ul>
<p><br><br />
* JavaFX Script<br></p>
<ul>
<li>scripting language for rich internet applications</li>
<li>roadmap for content authoring tools</li>
<li>designed for content professionals</li>
<li>leverages Java's unmatched reach, stability, security</li>
<li>preview release available</li>
<li>simple, easy to use</li>
<li>James Gosling: "Why another scripting language? Most scripting languages are focused on a particular application domain (e.g., generating html pages). One of the areas untouched by scripting languages is interactive graphical experiences that are flexible "roll overs and sliders gone wild".</li>
</ul>
<p><br><br />
* JavaFX Mobile<br></p>
<ul>
<li>"The network in your hand"</li>
<li>complete and fully integrated Java software system for mobile devices</li>
<li>Open, standards -based Java technologies</li>
<li>Supports JavaFX content authoring tools</li>
<li>Java SE -based</li>
<li>made available to OEMs -- customizable, to meet business models for handset providers worldwide.</li>
</ul>
<p><br></p>
http://www.java.net/blog/jhurley/archive/2007/05/sliders_gone_wi.html#commentsTue, 08 May 2007 19:22:43 +0000jhurley237843 at http://www.java.netOpening Day... My Top Five Session Pickshttp://www.java.net/blog/jhurley/archive/2007/05/opening_day_my.html
<!-- | 0 --><p>I'm really looking forward to the opening keynote tomorrow, and getting this year's conference started. It's been great already running into many familiar faces (some of which you only see once a year at JavaOne) around the Moscone Center and San Francisco.<br />
<br><br><br />
Tuesday's schedule is packed with a lot of cool potential talks. Tough choices have to be made on which ones you're going to go to... here's my list of five "can't miss" sessions for Tuesday:<br />
<br><br><br />
* TS-9370 10:50am Moscone Gateway 104<br><br />
<b> JRuby on Rails: Agility for the Enterprise</b><br><br />
Charles Nutter, Thomas Enebo, Sun Microsystems<br />
<br><br><br />
* TS-2707 3:20pm Moscone Gateway 102/103<br><br />
<b>Java Puzzlers, Episonde VI: The Phantom-Reference<br />
Menace/Attack of the Clone/Revenge of the Shift</b><br><br />
Joshua Bloch, Google, William Pugh, U of MD<br />
<br><br><br />
* TS-64745 4:40pm Moscone Esplande 301<br><br />
<b>Developing Web 2.0 Mapping Applications</b><br><br />
Eric Dylewski, NAVTEQ, Geoff Hendrey, deCarta<br />
<br><br><br />
* BOF-2358 9:00pm Moscone Gateway 102/103<br><br />
<b>Closures for the Java Programming Language</b><br><br />
Neal Gafter, Google<br />
<br><br><br />
* BOF-1968 10:00pm Moscone North Meeting Room<br><br />
<b>Meet the Java Posse</b><br><br />
Tor Norbye, Sun Microsystems<br />
<br><br></p>
<hr>
http://www.java.net/blog/jhurley/archive/2007/05/opening_day_my.html#commentsJavaOneTue, 08 May 2007 00:50:46 +0000jhurley237821 at http://www.java.netOn the Eve - Jini Meetup at the Bear (Mon 8pm)http://www.java.net/blog/jhurley/archive/2007/05/on_the_eve_jini.html
<!-- | 0 --><p>In or around San Francisco this evening? Interested in distributed computing, <a href="http://www.jini.org">Jini</a>, or just having a pint? ;-) In what seems to be turning into an 'annual' gathering at the <a href="http://www.thirstybear.com">Thirsty Bear</a> Brewing Company... we'll be having an informal Meetup to kick off JavaOne week.<br />
<br><br><br />
The Jini Community has undergone <a href="http://archives.java.sun.com/cgi-bin/wa?A2=ind0604&amp;L=jini-users&amp;F=&amp;S=&amp;P=4029">a lot of change</a> in the last year plus, and there are interesting times ahead. JavaSpaces technology continues to gain strong momentum, and the<br />
<a href="http://incubator.apache.org/river/">Apache River</a> incubator project (for the advancement of the core Jini infrastructure) finally (lots of issues getting going - don't ask) seems on the verge of getting rolling.<br />
<br><br><br />
Would be great to see familiar faces and new ones tonight, to kick off what is sure to be another exciting week at JavaOne.</p>
http://www.java.net/blog/jhurley/archive/2007/05/on_the_eve_jini.html#commentsJiniMon, 07 May 2007 22:12:35 +0000jhurley237818 at http://www.java.netHey EuroOSCON! We're planning on leaving the place "messy"!http://www.java.net/blog/jhurley/archive/2006/09/hey_eurooscon_w.html
<!-- | 0 --><p><i>[As background: Brussels is 'the place to be' the next couple of weeks... the<br />
<a href="http://www.jini.org/wiki/Category:10th_Jini_Community_Meeting">10th Jini Community Meeting"</a> is underway and taking place September 13th and 14th. <a href="http://conferences.oreillynet.com/euos2006">EuroOSCON 2006</a> is happening next week, September 18-21, at the<br />
same location -- <a href="http://www.leplaza-brussels.be/">Hotel Le Plaza</a> in the magnificent <a href="http://www.leplaza-brussels.be/uk/meeting/salon-theatre.htm">Plaza Theather</a>.]</i><br />
<P><br />
The 10th Jini Community Meeting is live from Brussels -- check out the conference page at: <a href="http://www.jini.org/wiki/10th_JCM_Live">http://www.jini.org/wiki/10th_JCM_Live</a> to track what's happening and view the live stream we're experimenting with (to help "spread the love"). :-)<br />
<P><br />
The Meeting is open and free (like the technology), so if you're in early for EuroOSCON, you're invited to stop by.<br />
<P><br />
We're discussing building adaptive distributed systems in Java. Jini is a proven service oriented architecture for building network based systems which are dynamic and highly adaptive to change.<br />
<P><br />
The Jini Community is in the midst of a lot of change (see: <a href="http://archives.java.sun.com/cgi-bin/wa?A2=ind0604&amp;L=jini-users&amp;F=&amp;S=&amp;P=4029">"A New Day..." note</a>), and so the latest changes (new <a href="http://www.jini.org">Jini.org site, new <a href="http://jini.dev.java.net">Jini area on Java.net</a>, and our <a href="http://wiki.apache.org/incubator/JiniProposal">Proposal</a> to the Apache Software Foundation) are all being discussed along with Community projects, Commercial products, technical experiments and advances, and Community growth.<br />
<P><br />
Basically... we discuss, learn, debate, build connections, and drink beer (we're in Belgium after all).<br />
<P><br />
There will, no doubt, be lingering echoes in the halls of the Plaza Theather about mobile code, open source, and building adaptive distributed systems... but we'll try and catch those RemoteExceptions and not leave the place too messy. :-)</p>
http://www.java.net/blog/jhurley/archive/2006/09/hey_eurooscon_w.html#commentsJiniWed, 13 Sep 2006 12:48:24 +0000jhurley235910 at http://www.java.netJini in the City of Beerhttp://www.java.net/blog/jhurley/archive/2006/08/jini_in_the_cit.html
<!-- 3 | 0 --><img src="/images/people/jim_hurley.jpg" border="0", align="left" /><p><img alt="10jcm-joinin.jpg" src="http://weblogs.java.net/blog/jhurley/archive/10jcm-joinin.jpg" width="468" height="60" /><br></p>
<p><P></p>
<p>Plans are getting set for the 10th Jini Community Meeting, September in Brussels. The program agenda will be posted this week, and filled with a variety of talks on 'all things Jini' (technology, projects, philosophy, deployments, community culture, etc). It's a good time, always filled with interesting presentations and conversations.<br />
<P><br />
The Meeting is open to all, and there's no cost involved. What better way to check out building adaptable distributed systems in Java, and having an ale with some new compatriots. <a href="http://www.jini.org">Join in</a>.</p>
http://www.java.net/blog/jhurley/archive/2006/08/jini_in_the_cit.html#commentsJiniThu, 17 Aug 2006 03:33:13 +0000jhurley236080 at http://www.java.net"Will the slides be available?"http://www.java.net/blog/jhurley/archive/2006/05/will_the_slides.html
<!-- | 0 --><p>One great improvement at this year's conference (at least for me)... is the availability of presentations online. It doesn't seem to have captured much "ink", so I thought I'd mention it here.<br />
<P><br />
If you go to the <a href="https://www28.cplan.com/javaone06_cv_124_1/sessions_catalog.jsp?ip=yes">session catalog tool</a>, you can download many of the presentations given (or about to be given!) at this year's conference.<br />
<P><br />
That gets major props from me -- as it really helps the attendee experience. No need to focus on taking notes on what's on the slides and then missing some of the dialogue of the presentation. It will also help people make better choices on which presentations to attend, and not feel so bad when they have to miss one because there's a conflict with another interesting presentation at the same time.<br />
<P><br />
And as an even bigger benefit, it enables developers around the world who weren't able to make it to this year's conference to see what's being presented.<br />
<P><br />
Nice add :-)<br />
<P><br />
-Jim</p>
http://www.java.net/blog/jhurley/archive/2006/05/will_the_slides.html#commentsWed, 17 May 2006 23:44:33 +0000jhurley235514 at http://www.java.net