|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
News
News
News
|
Messages: 15
Messages: 15
Messages: 15
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Metawidget 0.6, runtime form generator, released
Metawidget 0.6 has been released. Metawidget is an Open Source 'smart UI widget' that populates itself at runtime with labels, textboxes, date pickers, etc. to match the underlying properties of a given business object.
The project comes with native versions for Android, GWT, JSF, JSP, Spring, Struts and Swing. Out of the box, it can discover properties from JavaBeans, GroovyBeans, Hibernate configuration files, Hibernate Validator annotations and JPA annotations. Metawidget doesn't try to 'own' the entire User Interface, it creates widgets for embedding into your existing UI - giving you the best of both worlds between automatic UI generation whilst still retaining flexibility over look and feel, choice of third-party components etc.
New to this release is support for generating buttons (as well as the existing textboxes, date pickers etc.) based on JBoss jBPM 'pageflow' files or Swing AppFramework @Action annotations (see http://kennardconsulting.blogspot.com/2008/10/metawidget-ready-set-action.html).
This can be further enhanced with JEXL expressions to declare conditional actions (see http://kennardconsulting.blogspot.com/2008/07/expression-language-el-for-swing.html).
Metawidget can be downloaded from http://www.metawidget.org. The best place to start is the Reference Documentation (http://metawidget.org/doc/reference/en/pdf/metawidget.pdf).
Your continued feedback is invaluable to us. Please download it and let us know what you think.
|
|
Message #272032
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Looks impressive
I took a couple of minutes this morning and walked through the tutorial on the site. It looks pretty impressive. The author of this library has evidently put some real thought into this.
I'm going to try it out...
|
|
Message #272037
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Nice framework
I spun up the Swing Metawidget, very impressive. Love the annotations, too. Thanks a lot for this API! I am going to try one of the web widgets next.
|
|
Message #272038
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Very Nice
This is the coolest thing I have seen on TSS for a while now. We have a large GWT app it could certainly do with this for the forms. The documentation looks very good. I also really like the "don't take over the GUI" principle as we have our own "GWT portlet framework" already.
|
|
Message #272043
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Interesting but...
Maybe I've missed something but... Instead of providing so many technologies integration it could have been interesting (to my point of view) to go one step futher. For example, it could have been cool to automatically create a UI for a sample like this :
Person { String firstname; String lastname; List<Address> address; }
Address { String street; String town; }
If it is possible (without any dedicated code), sorry.
|
|
Message #272074
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Thanks!
My purpose is not to create a real app but more to "simulate" a domain model. Sometimes, to "validate" a domain model with a business analyst, it can be a good thing to "play the model". Playing the model can be done with an automatically generated UI, no matter the choices are.
Thanks for the links...
|
|
Message #272086
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Thanks!
My purpose is not to create a real app but more to "simulate" a domain model. Sometimes, to "validate" a domain model with a business analyst, it can be a good thing to "play the model". Playing the model can be done with an automatically generated UI, no matter the choices are.
Thanks for the links...
I agree that it would be useful, especially for simulations, if the tool would just be able to make some basic assumptions, without annotations, and generate a generic UI. This wouldn't change the fact that you'd still need the annotations once it got down to build something 'real'.
|
|
Message #272125
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Room for everybody
Javier: OpenXava is an excellent piece of work, and I congratulate you on its success. I list it on my comparison page (http://metawidget.org/doc/faq/comparison.html) in what I hope is an accurate way.
We differ a little in our approach. Metawidget is more concerned with integrating with existing front-ends and back-ends. An important goal of Metawidget is that you can retrofit your existing application (http://kennardconsulting.blogspot.com/2008/04/using-metawidget-with-seam-facelets-jpa.html).
But overall our vision is the same: to reduce the amount of laborious, error-prone work necessary to create a UI. My dream is that several projects should compete in this space, establish it as a mainstream technology (just like ORM is) and maybe one day all come together under a JSR?
Erik: yes - for simulating a domain model, something like OpenXava (itself based on Naked Objects, which I mentioned earlier) would be a better fit for you.
Michael: of course I agree. In fact, to further your point, in something 'real' many of the necessary annotations would already be there (JPA ones, Hibernate Validator, jBPM configuration files etc) - you just have to extract them.
|
|
Message #272152
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Room for everybody
Hi Richard,
My dream is that several projects should compete in this space, establish it as a mainstream technology (just like ORM is) and maybe one day all come together under a JSR? I like your dream, and I'm willing to work for it. But, it's not an easy way. Look my propoposal to convert your dream in a reality, and also look at the answers.
- Synergy with OpenXava in trails forum - Synergy with OpenXava in JMatter forum - Synergy with OpenXava in Naked Object forum - Synergy with OpenXava in Roma Framework forum
Seems that Naked Object and Roma concentrate and the differences not in the similarities. Maybe the philosophy behind NakedObject and Roma is not the same as OpenXava, but the shape of the projects is very alike. About JMatter, Eitan has a very favorable attitude, but there are some technologic barriers. The Trails case is better. Trails and OpenXava has a lot in common, and Alejandro has an open mind. But the project is just now in a critical moment toward its 2.0 version.
What do you think about all this?
Cheers
|
|
Message #272186
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: Metawidget 0.6, runtime form generator, released
Sounds impressive. I was infact looking for such utility for a while and was planning to come up with my own to fit a specific requirement.
I hope this would fit and would like to give a try.
Thanks
Shashi Ayachitam
|
|
Message #272190
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
The Dream
Javier,
I applaud your efforts to unite the field. Clearly, this will be difficult as there are a lot of passionate project owners out there!
I think probably it is too early to try to unite, because the field is not well understood. If most real world applications were using some form of UI generation, and most real world developers agreed on the main features of a UI generator, we could attempt a JSR. For example, by the time the JPA JSR was proposed both Hibernate and TopLink had convincingly 'solved' the problem, and many many developers were using them.
So first we must all try to 'grow the field'. To pursue our own ideas and grow our user bases. Probably we will find we converge a bit (for example, Naked Objects 3.1 will include Facets which are similar to Metawidget's Inspectors). One day, when UI generation is mainstream, we can all look to develop a JSR.
However, this JSR will not be the same as, or necessarily compatible with, any of our individual projects: it will be a new project drawing on our collective experience of what our user bases told us worked well and what not so well. We must not be egotistical during this phase, clinging to our individual projects. It is a chance to start afresh. There is plenty of precedence for this. For example, the Web Beans JSR draws on the experience of Seam, Guice, Spring and many others, creating something new but unified.
How will we know when we are ready to do a JSR? The JCP will tell us! When we feel ready, we will propose a JSR. If the field is too immature, we will get knocked back.
Regards,
Richard.
P.S. In the meantime, OpenXava and Metawidget could pursue our own unification. This may be pretty easy because the scope of Metawidget is much smaller than OpenXava. For example, OpenXava could use Metawidget inside itself.
|
|
Message #272357
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Re: The Dream
So first we must all try to 'grow the field'. To pursue our own ideas and grow our user bases.
OK. Let's work.
In the meantime, OpenXava and Metawidget could pursue our own unification. This may be pretty easy because the scope of Metawidget is much smaller than OpenXava. For example, OpenXava could use Metawidget inside itself.
Yes. I think that is feasible. Though I see some overlapped areas, for example, you use some annotations as @UiComesAfter or @UISection for layout purposes. OpenXava has its own annotations for that: http://openxava.wikispaces.com/view_en Obviously, I like more the OX annotations ;) Nevertheless, if metawidget becomes a mainstream framework, OX will support its annotations for layout. What about to support OX view annotations by metawidget ?
Anyways, I continue looking at your framework, and with the mind open for collaboration if possible.
Cheers
|
|
 |
New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com |
 |
 |
Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6.
(November 2, Article)
SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options.
(September 28, Article)
Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team.
(September 22, Article)
Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies.
(July 14, Article)
JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags.
(June 29, Article)
In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project.
(June 23, Tech Talk)
Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now.
(June 15, Tech Talk)
In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements.
(June 15, Tech Talk)
In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls.
(June 4, Tech Talk)
Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable.
(May 28, Tech Talk)
This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work.
(May 26, Tech Talk)
Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers.
(May 21, Tech Talk)
Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application.
(May 19, Article)
In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources.
(May 19, Tech Talk)
Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)
The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)
|
|