|
|
|||||||||||||||||||||||||||||||||||||||||||||
Santiago Pericas-Geertsen's Blog
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:
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!
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 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
Search this blog:CategoriesCommunityCommunity: Glassfish Community: Java Tools Community: Java Web Services and XML Community: Mobile & Embedded Mobility Programming Web Services and XML Archives
February 2009 Recent EntriesDeploying SGMP Connectors built using JAX-RS (Screencast) Developing SGMP Connectors using JAX-RS (Screencast) | ||||||||||||||||||||||||||||||||||||||||||||
|
|