The Source for Java Technology Collaboration
User: Password:



Ludovic Champenois's Blog

Open Source Archives


PHP talk at a Java conference?

Posted by ludo on June 20, 2008 at 08:58 AM | Permalink | Comments (2)

Bonjour,

Next week, I'll be in Zurich for the Jazoon conference with the GlassFish crew. This is a Java conference, and I'll be talking about....PHP and OpenSolaris and the OpenSolaris WebStack (Apache, MySQL, PHP,...). What!!! PHP at a Java conference? Am I crazy?

I hope not. OpenSolaris 2008.05 is not your father's Solaris. It is something I can use and it comes with a modern AMP stack. So what is the relationship with Java then? Well, since I am a GlassFish developer (and NetBeans developer, and Eclipse developer), I'll be talking about the possible integrations of the AMP stack and GlassFish:
  • Configuring the OpenSolaris Apache and GlassFish with mod_jk to have parts of your Apache web site served with GlassFish
  • Configuring the PHP-Java Bridge on OpenSolaris to extend your PHP applications with 'legacy calls' to Java processing performed under GlassFish
  • Using daily builds of NetBeans 6.5 that have killer support for:
    • Editing and debugging JavaScript
    • Creating PHP project, editing and debugging PHP files with the OpenSolaris AMP stack. Yeahhh! NetBeans can do PHP!
    • Adding jMaki Ajax snippets into PHP projects
    • Using GlassFish V2 and V3 (V3 plugin is *now* part of the NetBeans 6.5 builds) Java EE project to demonstrate the PHP-Java interoperability
Jazoon   And on Monday, we will host a Jazoon GlassFish day, so if you are around, please stop by and ask as many crazy questions you want. The GlassFish team will be there and well represented. Thanks Alexis for organizing this GlassFish day.

Next stop will be Ajaccio and Britany, but definitely not for work:-)

Ludo


GlassFish V3 TP2 and NetBeans 6.1

Posted by ludo on May 04, 2008 at 04:18 AM | Permalink | Comments (1)

Bonjour,

GlassFish V3 TP2 is now available. If you want to use it, or even download it from NetBeans 6.1, just fire the IDE, go the tools->plugins menu and refresh the list of modules, you should see 2 modules, one for Java EE development and one for jRuby projects. Just watch the images to see how you can get both the NetBeans modules, and then download the GlassFish V3 TP2 runtime, and see the 2 new libraries registered by the Server: EclipseLink to do JPA entity beans work and Grizzly Comet to do cool Comet Applications...
Most of the Java EE support from NetBeans 6.1 works with GlassFish V3 TP2 (Db to JPA, JPA to JSF, jMaki, Jersey RestFul services,...) and if you are a jRuby on Rails developers, you can now select the GlassFish server as s deployment target for your NetBeans jRoR projects...

Just scroll through the following images, and you'll know everything about this new NetBeans/GlassFish integration:


a

a


a


a




a


a


a


a

a



a


a



a



Ludo.



Web Stack in SXDE

Posted by ludo on February 05, 2008 at 07:42 AM | Permalink | Comments (1)



Hi,

today, Sun is releasing a new version of Solaris Express developer Edition (SXDE) that you can download for free at http://developers.sun.com/sxde
The reason why this release is significant is that for the first time, a complete Web Stack is integrated and ready to use after the installation of the operating system (DVD or VMWare image) on your laptop of desktop.
This release includes the latest tools (NetBeans 6.0 and NetBeans PHP support, Sun Studio), and technologies (JDK 1.6, Apache 2.2, PHP 5.2.4,  MySQL 5, PostgresQL 8, Ruby, GlassFish Java EE 5),  to create applications for the Open Solaris OS, Java Application Platforms, and Web 2.0.

I've created a screencast that explains how to initialize the Web Stack for a Solaris Desktop user, how to start the Apache2 and MySQL servers, how to administer the stack, how to create and run a simple demo, how to use the NetBeans PHP IDE to create, deploy and debug PHP applications, all these steps done in a rushing 10 minutes. So fasten your seat belt.

ScreenCast available here.

Now if you do not have the time or the bandwith to watch the screen cast, you can view a few images taken from the screencast below:

Default Welcome page in Firefox (bundled) for SXDE 1/08:


ishot-100.png

Desktop Menu to Initialize the Web Stack:


ishot-101.png

Desktop Menus after the initialization of the Web Stack:


ishot-102.png

Web Stack Options UI console:


ishot-103.png


Registering a MySQL database connection in the NetBeans PHP IDE:


ishot-104.png


Running a PHP Project via the NetBeans PHP IDE


ishot-105.png


Debugging a PHP project int he NetBeans PHP IDE:

ishot-106.png



As you see, it is so simple that I was even able to create a debug a PHP application is less than 10 minutes. So give it a try, this is going to be a great year for Open Solaris and Web developers.
Install SXDE 01/08 (free  at http://developers.sun.com/sxde) on your desktop or laptop, using VMWare  (Mac, PC,...) or not, and give it a try,

Ludo





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds