Re: [Webwork-user] Web components?
Brought to you by:
baldree,
rickardoberg
From: Hristo S. <hr_...@ya...> - 2000-12-15 09:32:56
|
Rickard-, Remeber we talked about this some while ago. Basically, we talked about using Swing components directly, because they are JavaBeans anyways. However, since they are missing the webwork Action interface, we might want to use the JDK 1.3 proxy classes to "adapt" the existing Swing components to the webwork interfaces. A good place to do that is the dispatcher servlet. When an action is instantiated, (the getAction() method) we check if it implements the Action interface. If not, create a proxy class. Most of the "execute()" logic should come from view.properties. If we manage to do that, the swing components can be reused in a GUI J2EE applications later. Here are some possible directions for future development of webwork: 1) Design an equivalent of the Dispatcher.java for Swing/GUI applications. Have you seen these 4 articles: http://www.javaworld.com/javaworld/jw-07-1999/jw-07-toolbox.html As far as I can remeber, the author presents a "visual-proxy" architecture which is pretty close to what we are building, only in Swing ... It's worth reading! 2)Design an comprehensive EJB backend. What happened to EBS? Regards, Hristo --- Rickard Öberg <ri...@jb...> wrote: > Hi! > > Just thinking about our generic controls. I am in > the process of > updating EBS to use WebWork 0.7, and saw that I > wanted a tab pane > component. But then I thought: hey, this can be > generalized, just like > Swings TabPane. Feed it a list of {name, url}'s and > it should be > possible to render a tab pane. I think this is > possible to do. This > general approach should be VERY powerful, if it > works as I hope. > > Any thoughts on this? > > regards, > Rickard > > -- > Rickard Öberg > > Email: ri...@jb... > _______________________________________________ > Webwork-user mailing list > Web...@li... > http://lists.sourceforge.net/mailman/listinfo/webwork-user __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ |