The Source for Java Technology Collaboration
User: Password:



Ludovic Champenois's Blog

Tools 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.



Eclipse Foundation and GlassFish community

Posted by ludo on March 17, 2008 at 01:21 PM | Permalink | Comments (0)

Bonjour,

I just love it when things are aligned. Today, it is about Eclipse and Sun, or I should say Eclipse Foundation and the GlassFish community.
Read it at http://www.eclipse.org/org/press-release/20080317_Eclipselink.php  : EclipseLink will be used in GlassFish V3 Application Server (Java EE 6) and it will be the reference implementation for JPA (Java Persistence API) 2.0.
Correct me if I am wrong, but it seems to be the first press release ever done mentioning those 2 names: Eclipse Foundation and Sun Microsystems. If you are an Eclipse user, I hope you have noticed the *only* company name that is displayed in the Eclipse splash screen. If not, pay attention the next time you see the screen...

As you might know, I've been involved a lot in the J2EE and Java EE support in NetBeans, and honestly, I can tell this is one of the best support you can get for Java EE developers. And I have also been involved in the GlassFish (V1, V2 and V3) plugin for Eclipse as well as the jMaki plugin for Eclipse. It is good to be able to reach as many developers as possible and give them access to one of the best application server out there.

This week, EclipseCon conference is happening in Santa Clara, and Carla Mott and I will be speaking about GlassFish V2, GlassFish V3, jMaki  and Eclipse:  See http://www.eclipsecon.org/2008/?page=sub/&id=36.
Our talk is Thurday, March 20th at 10:30 am Grand BallRoom F: Eclipse: Enterprise Apps and Rich Front-end using GlassFish and jMaki.

If you are not familiar about the GlassFish Application Server support in Eclipse, please read these pages:
  1. https://glassfishplugins.dev.java.net/
  2. http://weblogs.java.net/blog/ludo/archive/2007/06/glassfish_tooli.html
  3. https://glassfishplugins.dev.java.net/eclipse33/index.html
  4. and watch the screencat at  http://weblogs.java.net/blog/arungupta/archive/2007/06/screencast_ws6.html
Both the GlassFish plugin and the jMaki plugin are being updated this week (tomorrow?) for a better GlassFish V3 support and a brand new jMaki 1.1 beta support. We are just doing the final testing today.

Enjoy, and as always, feedback is welcome,

Ludo

Ajax jMaki: Hello, I am in NetBeans, and Hello, I am in Eclipse...

Posted by ludo on February 14, 2007 at 10:47 AM | Permalink | Comments (1)

After the NetBeans edition, Ajax jMaki is now available in the Eclipse edition.

 

Ajax jMaki new Stylized JSP wizards

Posted by ludo on November 07, 2006 at 04:32 PM | Permalink | Comments (0)



Bonjour, comment Java?

Ajax jMaki plugin (https://ajax.dev.java.net) for NetBeans is evolving rapidly. Now, a new set of JSP wizards is available to create JSP files following well defined CSS styles. After installing this add-on plugin, you'll have access to the jMaki palette for easy Drag and Drop of Ajax components from dojo library, yahoo toolkit, google, etc as seen in this visual gallery, and the new wizard called "Stylized JSP (jMaki)" on a regular web application project:
 
screen 1

The wizard creates a JSP file, and allows you to pick and choose a CSS layout from the jMaki repository. The current possible CSS layouts to pick from are:

  • Standard
  • Standard with footer
  • Standard with right sidebar
  • Right sidebar
  • Centered
  • 3 columns
This is the initial list, and Greg Murray is already working on extending it.


screen 2


See below the generated JSP which is using the "Standard with right sidebar" layout. Notice the different areas for "Side Bar Content Here" ,"Right Side Bar Content Here", and "Main Content Pane". This is typically areas where you want to Drag and Drop jMaki components from the jMaki palette. For example, the side bar area is a good candidate to display a Tree (dojo or yahoo) or an accordion.

Test.jsp
 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4
<link rel="stylesheet" href="jmaki-standard-right-sidebar.css" type="text/css"></link>
5
6
<html>
7 <head>
8 <title>Page Title</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 </head>
11 <body>
12 <div class="outerBorder">
13
14
<div class="header">
15 <div class="banner">Application Name</div>
16
17
<div class="subheader">
18 <div>
19 <a href="mailto:feedback@youraddress">Feedback</a> |
20 <a href="#">Site Map</a> |
21 <a href="#">Home</a>
22 </div>
23 </div> <!-- subheader -->
24 </div> <!-- header -->
25
26

27
<div class="main">
28 <div class="leftSidebar">
29
30
Side Bar Content Here
31
32
</div> <!-- leftSidebar -->
33
34
<div class="rightSidebar">
35
36 Right Side Bar Content Here
37
38
</div> <!-- rightSidebar -->
39

40
<div class="content">
41
42
Main Content Pane
43
44
</div> <!-- content -->
45
46
</div> <!-- main -->
47
48
</div> <!-- outerborder -->
49 </body>
50 </html>


And here is the result of this empty JSP page. You do not need to become a CSS expert to produce a good looking page anymore:


Main Content Pane

I hope you'll find this wizard useful...Try to imagine your productivity if you could visualize in real time the rendered page inside NetBeans itself. This would be a new entry in my blog very soon since I am investigating the JDIC embedded browser in NetBeans...Apple Mac version coming soon.


Ludo

Announcing AJAX jMaki plugin for NetBeans IDE

Posted by ludo on June 15, 2006 at 11:18 AM | Permalink | Comments (2)

Bonjour, comment Java?


Wouldn't be great if by just writing this:

<a:ajax name="sudoku" />

in one of your Web Application JSP files, you would get this?



Or by typing:


<a:ajax type="dojo" name="resizabletextarea"/>

you would get:



or, after resising the dojo component:



or

<a:ajax type="dojo" name="fisheye"/>

<a:ajax type="dojo" name="resizabletextarea"/>

would be rendered as:



and:



Well, it's kinda possible with the jMaki project.

You can even avoid entirely typing the <a:ajax...> tags with the jMaki NetBeans plugin: by using the jMaki component palette, you just Drag And Drop with the mouse...Does not need a keyboard at all :-)

Watch the screencast here...

Ludo




NetBeans IDE Field Guide book

Posted by ludo on January 17, 2006 at 09:31 PM | Permalink | Comments (0)

Bonjour,

I am busy, really busy, updating the J2EE chapters of  the NetBeans IDE Field guide book. The second edition should be out later this year: new exciting features like Matisse Swing GUI builder, Profiler, NetBeans RCP platform are covered. On the J2EE side,we now have Sun App Server 8.2/8.1 and current 9.0 (Beta is very soon)  support, as well as BEA Weblogic and JBoss servers, JSF and Struts Web framework, new Blueprints Solutions catalog -Ajax based-, and the Derby database support. The current edition of the book is still very relevant, so if you don't have it in your collection, you can still order it from Prentice Hall, Amazon, or Bookpool. You can also read PDF  draft chapters in English and French.

book.jpg

Ludo

Java Tools and Server runtime on Mac...

Posted by ludo on January 09, 2006 at 06:06 PM | Permalink | Comments (4)

Bonjour, comment Java?

So tomorrow is the big show from Apple. Many rumors, as usual, many of them related to the Intel processors. So if this is real tomorrow (I am not saying anything more than "if..."), then you should know that the combination of NetBeans 5.0 and the Sun J2EE 1.4 Application Server has been already tested on the Mac/Intel platform.  In fact, I fixed a P2 bug (unable to start appserver on Mac/Intel platform) last December to make sure you can develop J2EE applications (Web apps, Web Services, Ejbs,...) on the Mac systems.

NetBeans 5 on Mac

So Let's wait and see what Steve will say. On the Runtime side and Tools side, we are ready.

Ludo

EJB 3.0, Persistence, GlassFish, NetBeans at Javapolis 2005

Posted by ludo on November 21, 2005 at 06:17 PM | Permalink | Comments (1)


Bonjour,

If you want to learn more about EJB 3.0, Persistence, Annotations, NetBeans, GlassFish, Java EE 5, JSF, Crud, Ajax, Ease of Development, Java BluePrints, and you are around Antwerp (Belgium) in December 2005, you need to attend Javapolis 2005. This year, there is a Development Tools day, and NetBeans will be well represented.
I will be presenting the current status of both the NetBeans project and the GlassFish project, and how the combination of the two technologies offers a great environment for any developer who wants to learn the new Persistence, EJB 3.0 annotations and ease of development features.
If you cannot attend the conference, you can still read the excellent blog regarding NetBeans and Persistence on the web tier level (Not the 'old' EJBs, just Entity beans in a Web Application), or read the related GlassFish page.

Ludo


Google and NetBeans extensibility

Posted by ludo on October 05, 2005 at 06:47 PM | Permalink | Comments (10)

Bonjour, comment Java?

Yesterday The announcement of the collaboration between Sun and Google has been well received and talked about. So what about NetBeans and Google? I wanted to test the new NetBeans 5.0 Beta wizards to develop  new NetBeans modules, and guess what  I was able to do in 16 minutes? Well, a Google search Toolbar inside the NetBeans toolbar... See the result:

5.0beta-button.jpg

See the new "Google:" entry field in the NetBeans toolbar... If you enter some text there and press ENTER, a browser is shown with the result of the search. In the NetBeans explorer, you can see the little NetBeans module.

Google and NetBeans


IF you want to play with it, you can download file NBM (NetBeans Module file) and read the NetBeans documentation to see how to install it in the IDE.
I wonder when the Google toolbar will show NetBeans as a possible download... Ludo

PS: Update: Geertjan Wielenga, the NetBeans docs guru just created a tutorial for NetBeans based on this module: check it out

Application Servers or IDEs running on PSP?

Posted by ludo on September 28, 2005 at 08:09 AM | Permalink | Comments (2)

Bonjour, comment Java?

sparky logo image  GlassFish Open Source Java EE 5 Application Server or NetBeans 5.0 Beta IDE,  running on a PlayStation Portable PSP? 5.0beta-button.jpg

...Not yet: you would need a Java VM implementation on this exciting new platform...Anyone aware of such an effort?

The good news is that you can now install both the GlassFish application server or the latest beta of NetBeans IDE on Mac OS X. This is in addition to the existing support for XP, Linux and -of course- Solaris platforms. If you want the GlassFish server and the IDE to integrate together, read this documentation page. The list of new features introduced in NetBeans 5.0 Beta is really impressive. I was told  that even the NetBeans Profiler would profile J2EE projects, in a single click or two.

If you still want to use your PSP, at least you can browse the Web with it, via a wireless connection...
See this image: (I had to fight with my kids to get access to this PSP mono user device, upgrade the PSP system to 2.0, and struggle with the keyboard simulator using up-down-left-right keys)

 nbgf.PNG

Now, I need to see how the GlassFish Admin GUI is behaving on this new browser. As well as the updated Java BluePrints AJAX samples that run on top of Java EE 5.

Ludo(tique)

(PS: my kids just told me that you can play games with the PSP...I did not know that:-)

Java EE 5: where are my tools?

Posted by ludo on June 28, 2005 at 08:35 AM | Permalink | Comments (0)



Bonjour, comment Java?

Today, I'll be talking at Java One about the Java EE 5 specifications, how it simplifies the life of developers, and what a developer can expect from  the Tools side  to help them even more...If you are around, see TS 7725. For the others, here are some preview images of what NetBeans could offer soon, targetting Java EE 5 servers, like for example the new kid in the block of open source servers: GlassFish.


netbeansjee5.JPG Some Welcome screen, this is the easy part...
Well, it was not, really. Initially, we had:
  • J2EE 5.0, then
  • J2EE 5, then
  • JEE 5, and finally
  • Java EE 5
I'm pretty sure we are missing a tm somewhere.
Also, this is a preview (no automated nightly build so far, just the code in NetBeans cvs)...

Some Java EE 5 annotations code completion capabilities
  • Entity and Table mapping code completion
  • EJB resource injection
  • ...
codecompl.jpg

gf.JPG GlassFish Java EE 5 Application Server support:
you can administer it, and deploy to it.


There is a high probability of a demo crashing, but without this, this would not be a preview, and
this would not be fun at all...

Ludo




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