The Source for Java Technology Collaboration
User: Password:



Santiago Pericas-Geertsen's Blog

Santiago Pericas-Geertsen Dr. Santiago Pericas-Geertsen is a staff engineer in the Java Web Services group at Sun Microsystems. Santiago is a lead developer of the Fast Web Services project at Sun Microsystems as well as an editor for the W3C XML Binary Characterization working group. In addition, he is a PMC member at the Apache Software Foundation representing the Xalan/XSLTC project.



Have fun learning JavaFX!

Posted by spericas on February 27, 2009 at 02:00 PM | Permalink | Comments (4)

As many of you out there, I wanted to explore the world of JavaFX. After looking at a few demos here and there, I decided it was time to write some code; there is simply no better way to learn a new technology like this than writing something. A quick glance over the language primitives and programming model made my decision very easy: a simple video game was best choice to learn JavaFX!

I am not a game programmer, but just like many of you, I wrote a couple of simple games in the past. So it took some GIFs from an old game (which are share by most Space Invader-like games out there!) and put together a very simple game in 400+ likes of JavaFX code. I was amazed by the result. JavaFX is a incredible powerful platform, so I decided to share with you the source code to hopefully encourage you to get started as well. Here's what the game looks like:

jnebulafx.jpg

It should be pretty easy to port this game to JavaFX Mobile, but I haven't had the time myself (so if you do it, please send it to me!). The controls are straightforward: UP ARROW, DOWN ARROW, LEFT ARROW, RIGHT ARROW and SPACE (fire).

I believe the source code is pretty easy to read, so I hope a quick glance at it we'll get you intrigued and help you get started. Have fun!

DOWNLOAD JNebulaFx SOURCE CODE HERE



Deploying SGMP Connectors built using JAX-RS (Screencast)

Posted by spericas on February 26, 2009 at 11:42 AM | Permalink | Comments (0)

This is a follow-up to the blog "Developing SGMP Connectors using JAX-RS" where I focus on how to deploy an SGMP connector developed using JAX-RS. Once again, rather than bore you with words, I will attempt to entertain you with a screencast. The screencast will show you how to build your connector using Netbeans and how to deploy and configure your connector using the GlassFish admin console.

WATCH SCREENCAST

Developing SGMP Connectors using JAX-RS (Screencast)

Posted by spericas on February 25, 2009 at 11:47 AM | Permalink | Comments (0)

Last week we announced the availability of version 1.1 of the Sun GlassFish Mobility Platform (SGMP), formerly known as Mobile Enterprise Platform (MEP). In the previous version, a connector could only be developed using the ECBO API; in this new version, a connector can also be developed using JAX-RS. The attached screencast shows how to develop a JAX-RS connector using Netbeans 6.5 and Maven. Next time we'll focus on how to deploy a JAX-RS connector.

WATCH SCREENCAST

March 2009
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        


Search this blog:
  

Categories
Community
Community: Glassfish
Community: Java Tools
Community: Java Web Services and XML
Community: Mobile & Embedded
Mobility
Programming
Web Services and XML
Archives

February 2009
November 2008
October 2008
September 2008
August 2008
July 2008
October 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005

Recent Entries

Have fun learning JavaFX!

Deploying SGMP Connectors built using JAX-RS (Screencast)

Developing SGMP Connectors using JAX-RS (Screencast)



Powered by
Movable Type 3.01D


 Feed java.net RSS Feeds