Mobility pack in NetBeans
Now, if you haven't seen the mobility pack RC2 for NetBeans 5, go and download it now. Seriously. Even if you don't want to develop anything for a cellular phone, even if it doesn't interest you in the slightest manner. Just do it.
I played with it a little bit today, and even though I am not much of a fan for mobile device programming, I couldn't help giving out a "wow". For a mere 20 MB download (80 MB including NetBeans) you get a great tool, and that can't be neglected. These are my thoughts:
Things I liked
- The Form EditorThe editor is just slick. It makes you feel like editing a window form. It's easy, it's drag-and-drop, it has a components toolbox - Anything you'd expect, but inside a ceullular phone form.
- Generated code The generated code is just incredible. I've tried MIDP in the past, and the most horrible part is listening to the phone's buttons events, and then deciding on what component the user was highlighting when the button was clicked. NetBeans Mobility creates the entire code for you, leaving you with only writing your application's logic.
- Form Traversal If you've ever worked with Java Studio Creator, you've seen it had a "flow" for pages, where a certain event would trigger a movement between web forms. The same thing in Mobility: Connect between cellular forms in a graphical environment; Mobility will do the rest.
- Read only code Just like in Matisse, the generated code - form traversal, event and sender decisions talked about before - Are read only, preventing the developer from accidently ruining some sensitive auto-generated code.
Things I hope to see
Even though Mobility is a great tool for mobile device programming, there are some things I wished I saw there.- Support for Graphical phones With phones becoming more and more advanced, and JSR 184 (Mobile 3D Graphics API for J2ME) already released, a package of pre-made graphical controls could have been created and integrated with the editor to help create richer applications.
- Connectivity to J2EE Since J2ME provides no RMI library, and J2EE requires it, a proxy is required, which is described in this presentation. If NetBeans Mobility could provide a way to automate this process, and to graphically design a connection between a form and an EJB, would make so many things just a lot simpler.
Comments (8)