• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UI Service Binding Tools

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So back in the day when Swing was Sun's step child and there were applications like Forte 4 Java and before we new any better we all dealt with JDBC to get data from a database. So tools like Forte4Java would allow you to create a datasource and pick and choose tables and columns and all this handy dandy code was generated for CRUD operations on said table(s). This was all fine and good because UI's didn't have to be flashy. They just needed to be functional. And all that was required was a view into a database.

Now that we've wised up and started wrapping database operations inside of Service and DAO interfaces and now that our UI's are expected to be magically beautiful things have gotten better for the end user and coding to interfaces, well, that's just the cat's pajamas.

However, our ease of binding data to the UI has taken a turn for the worse. Sure, we have some binding frameworks in the works that allow us to bind UI components to Java objects. But that is only one piece of the puzzle. What I'd like to find is a tool/API/something that allows us to take that one step further and bind to a service/dao method. So where as before I chose what columns in a table I want displayed and bound to specific components I can now choose a service/dao, choose the method, and then choose which Java object properties I want bound. What methods to use for save, update, delete, etc.

Any such bird exist?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Off the top of my head two frameworks that address this are JGoodies Binding, SwingLabs DataBinding.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nathan Pruett:
Off the top of my head two frameworks that address this are JGoodies Binding, SwingLabs DataBinding.


Yea, but these are pure pojo/javabean to form binding. Not service binding. As I said, this is only one piece of what I'm looking for. Thanks.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry - I focused on the binding part of the question and skimmed over the service part.

What definition of "service" are you using? - Web Service, Spring Service, OSGi service, Generic "Service Oriented Architecture" Service, etc.? All of the above?

I think you'd need to take an existing Swing POJO/JavaBean binding framework and write an Adaptation layer to allow it to use the "service" that you're using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic