jfarcand's Blog
301 Moved Permanently \r\n Location: http://jfarcand.wordpress.com/
Quick update...my blog is now located @ http://jfarcand.wordpress.com/ .
Thanks for all of you that hit my page every weeks...I'm always surprised every time I look at the stats!!!
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 2111 reads
The new Atlassian JIRA Studio Activity Bar is powered by the Atmosphere Framework
This blog has moved here
- Printer-friendly version
- jfarcand's blog
- 1742 reads
New Open Source Project Alert! A New Asynchronous Http Client library!
This blog has moved here
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 3048 reads
The pain is over for java.net's Maven artifacts!
Deploying Maven artifacts using the java.net repository is always a challenge and most of the time the result is unpredictable...the good news is Sonatype's is opening it's Nexus OSS instance for all of the java.net project!

All the projects I'm involved that needs to deploy on java.net maven repository are daily failling (many many times) with the not so nice exception:
[HUDSON] Archiving <http://hudson.sfbay/job/Atmosphere/org.atmosphere.samples$atmosphere-simple-jersey/ws/target/atmosphere-simple-jersey-sources.jar> to /files/hudson/server/jobs/Atmosphere/modules/org.atmosphere.samples$atmosphere-simple-jersey/builds/2010-02-24_18-18-14/archive/org.atmosphere.samples/atmosphere-simple-jersey/0.6-SNAPSHOT/atmosphere-simple-jersey-sources.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error installing artifact's metadata: Error while deploying metadata: Connection failed: Unable to connect to https://svn.dev.java.net/svn/maven2-repository/trunk/repository/ svn: The specified baseline is not the latest baseline, so it may not be checked out. svn: CHECKOUT of '/svn/maven2-repository/!svn/bln/2053093': 409 Conflict (https://svn.dev.java.net) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22 minutes 9 seconds [INFO] Finished at: Wed Feb 24 18:40:27 PST 2010 [INFO] Final Memory: 78M/168M [INFO] ------------------------------------------------------------------------ Waiting for Hudson to finish collecting data\
This happens for project like Grizzly, Atmosphere and Jersey, making the deployment of SNAPSHOT and official release quite complicated. Project like GlassFish started using their own repository to workaround that issue. When I was at Sun we worked on tricks like committing the artifact manually using SSH (wow!), or use scripts that try over an over until it succeed (wow!). With Grizzly, it took sometimes 3 DAYS to deploy the official release. So I guess we can say the java.net repositoty is a little broken :-).
Now will it get fixed when java.net/kenai merge? We have to see...but Kenai doesn't have a Maven repository so I suspect the same one will be used, hence all the pain! But there is a good news! Sonatype is opening it's Nexus OSS instance to all java.net project (actually not only java.net...any OSS projects). You can read the official announcement here....the java.net migration day is targetted March 5! If you use Maven and deploy on java.net, I think that's a good opportunity to save pain and improve your release cycle!
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 2282 reads
Comments
I absolutely agree! In fact,
by fabriziogiudici - 2010-02-25 09:53
I absolutely agree! In fact, I've just moved most of my stuff to Sonatype (and the remainder will be moved soon). As a plus, since artifacts are hosted on a Nexus instance that provides an .index file, it can be configured in the NetBeans IDE so one can explore the contents of the repo (and I suppose this also improve autocompletion of POMs and the embedded search for artifacts).
@ MUST \!A = 4\pi r^2 : Atmosphere 0.5 is released
This blog has moved here
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 3272 reads
Comments
htp://atmosphere.dev.java.net
by pmanop - 2010-01-22 22:56
htp://atmosphere.dev.java.net/ or http://atmosphere.dev.java.net/Using Google Guice with Atmosphere
This blog has moved here
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 2353 reads
Putting GlassFish v3 in Production: Essential Surviving Guide
This blog has moved here
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 8920 reads
Leaving Sun Microsystems
It is always hard to write these type of posts. As of December 4th, I will no longer be with Sun Microsystems.
It all started from working on Java EE1.3 and a server called Tomcat. I was on Tomcat for a couple of years and then came with the idea of a NIO based HTTP Connector for Tomcat called ... Grizzly :-) Funny it never ended into Tomcat! Grizzly started with SJS AS 8.0 and slowly replaced the old Netscape C Runtime and Tomcat inside Sun's products (they are many many now :-)). I've then moved to a Project called Minnow, a components based server running on top of Grizzly and Maven 2. You start Grizzly and Grizzly was, at runtime, taking care of downloading/installing the artifacts needed to serve the request: Containers installed on the fly! The project got canned as soon as I've presented it internally ...I've always had trouble inside Sun with my projects :-) ... but it has opened the door to GlassFish v3 as the code got re-used to create the Grizzly based micro-kernel of the current GlassFish v3. Didn't wasted my time finally :-) During that time GlassFish moved from being a Zero to a Hero, and now it is just amazing to see where GlassFish is and the perception the community have of it. My fingers hurt when I look at the emails traffics we have generated on users@glassfish! Finally the "Comet things" surrounded me and at the end I've created the Atmosphere Framework, which is positively invading the planet those days :-).
I will really miss my team I've been working for the last 7 years.....Now the sad news: I will stop working on both GlassFish and Grizzly on December 4, letting something I've created growing by itself. But the Grizzly community is quite mature and I'm fully confident to see amazing release in the future! BTW, since I am privately getting up to 30 emails per weeks from early adopter or existing GlassFish users, please make sure you either ping Sun's support directly or use the Grizzly/GlassFish public mailing list to get the appropriate response starting now :-)
What about Atmosphere? This project is way too innovative to leave it and I will continue working on it or on something similar, depending on what Sun is up to :-).
Where do I go? I'm going to Ning.com. Don't worries I will continue polluting this blog and worse you can always follow me on Twitter!
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 4097 reads
Comments
Merci !
by cyrilleleclerc - 2009-11-29 12:11
Merci d'avoir fait progresser le moteur de servlet qui en avait bien besoin, merci d'avoir pris le temps de passer voir le Paris JUG, merci d'avoir bousculé le monde java avec Comet ... Merci pour tout et bonne continuation chez Ning.com. Un chat communautaire de millions d'utilisateurs avec Atmosphere ? :-) CyrilleLa vie est courte, il faut savoir saisir les opportunités !
by elecharny - 2009-11-27 03:54
Et tant pis pour Sun :) OOps, Oracle... BTW, on démarre juste MINA 3.0, tu es le bienvenu ! Bonne chance chez Ning, et salut nos amis les apaches qui y bossent (Henning, Brian...)Vous venez à Palo Alto?
by cajo - 2009-11-25 15:30
Vous venez à Palo Alto?It's a shame to see you go,
by bvansomeren - 2009-11-26 03:15
It's a shame to see you go, but thanks for all the good work you've done that I get to benefit from daily!Thanks for the fish, JFA!
by pelegri - 2009-11-25 13:08
I'm sure the move will be good for you, JFA! Thanks for all your contributions; we will take good care of Grizzly, and will work with you on Atmosphere! - eduard/othanks, jean francois
by writtmeyer - 2009-11-25 08:37
Thanks, Jean Francois for your excellent work on GlassFish, Grizzly and Atmosphere. Of course this is sad news for all of us. Your conference talks also will be missed (so sad that I couldn't go to this year's Devoxx) - unless ning.com will allow you to keep up with this work. I wish you much pleasure at your new workplace, a good team to work with and many interesting projects. Good luck!Sorry to see you go
by rdelaplante - 2009-11-24 20:44
It's sad to see so many of Sun's greats leaving the company because of the extremely long merger process and all of the uncertainty. It's understandable though. The GlassFish community will miss you. Good luck at your new job.Thanks for everything
by bobtreacy - 2009-11-24 19:28
Good luck with your new endeavors. Thanks for all the help getting us get started with GlassFish at IQSS at HarvardThat is sad news for the rest
by sdo - 2009-11-24 15:37
That is sad news for the rest of us indeed, but incredibly exciting for you. Without all you've done, Glassfish would still be an also-ran. Best of luck in the future!Bonne chance, et je te
by survivant - 2009-11-24 13:55
Bonne chance, et je te remercie de m'avoir fait découvrir Grizzly et fait rejoindre l'équipe. Ce fut un très bonne expérience pour le développement professionnel et je vais continuer de suivre tes blogs. Faut bien suivre la technologie et si possible d'en faire parti.Servlet 3.0 Asynchronous API or Atmosphere? Easy decision!
This blog has moved here
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 6971 reads
Comments
Meteor and notifications
by aaime - 2009-11-24 10:08
Hi, the Meteor/servlet integration is really interesting. Let's say I have an existing application and that I just want to be notified of when the client drops the connection. The Meteor API does not look like it's providing such ability. Is it implementable, or I'm just looking for unicorns here? ;-)You are right. If you want to
by jfarcand - 2009-11-27 09:19
You are right. If you want to get notified when the client close the remote connection. If you want to to get notified when the connection close and use the Meteor, you will need to extend the ReflectorServletProcessor ... let's continue the discussion on users@atmosphere.dev.java.netSee you in Europe in November
I'm will be leaving Québec next week for talks at JFall, Paris JUG, Prague JUG and Devoxx. The talks will focus on Atmosphere and it's spin off (Grail Plug In, Akka, PrimesFaces) and a little bit of Grizzly's work-in-progress Servlet Container.
First, I will stop by Amsterdam November 11 and talk about Atmosphere at JFall 2009. Next I will stop by Paris JUG November 12 for an al-in-French talk on Atmosphere (I means pure French from Québec). Then on November 16 I will talk about Atmosphere at the Prague JUG. Finally I will be in Anwerp for Devoxx 2009, presenting Atmosphere and our new Grizzly Servlet Container which support new OSGi Http Service spec.
See you in EU!
technorati: atmosphere framework ajax push comet jersey grizzly
- Login or register to post comments
- Printer-friendly version
- jfarcand's blog
- 1513 reads




Comments
AsyncCompletionHandler vs CompletionHandler
by cowwoc - 2010-03-05 10:34
Please replace AsyncCompletionHandler with JDK7 "CompletionHandler". They do the same thing. I suggest using the same name in a different package so once JDK7 is out you can transition users to the official version.Hum, CompletionHandler
by jfarcand - 2010-03-05 12:03
Hum, CompletionHandler doesn't use the same API (notice the second args) -> http://download.java.net/jdk7/docs/api/java/nio/channels/CompletionHandler.html ... But since I've worked on that spec, for sure I probably got influenced :-) If you want to discuss, let's have the discussion on http://groups.google.com/group/asynchttpclient with the other member of the team. THANKS for the feedback!