This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Composite Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Composite Bean" Watch "Composite Bean" New topic

Composite Bean

Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
Hello :-)

Could you someone please let me know about composite bean. I try to google but in vain. I am not sure if the answers i am finding are the one which actually are precise.


We are using Struts. Where the data is being saved to composite bean and then again converted to a specific actionform and attached to a request which is forwarded to another class [which is a facade i.e. spring] (yes, we are combining two frameworks...infact 3...3rd some if our own custom made.)

Kindly let me know if you are able to understand the flow. Thanks!

Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

I believe a composite bean is an entity bean that spans multiple tables in the relational model.

Personally, I have no clue what the author of that paragraph is trying to communicate. At first it sounds like he's describing the flow of data from the database to the front end but then it says something about sending the request to a facade in Spring - which would now be going in the other direction. Hopefully the code makes more sense than the documentation!

A good workman is known by his tools.
Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
Thanks Marc! no wonder the author was me. :-)

I will try to be better this time. We are Reengineering the front end of the application. As whole, the process starts with Struts who takes care of the look and feel of the application where as the Spring takes care of the bussiness logic and connection to the database [Oracle].

I hope this makes sense. :-) The above scenario was about a particular module.

Could anyone please give more details on composite bean? Thanks!
[ August 03, 2007: Message edited by: Atul Sawant ]
I agree. Here's the link:
subject: Composite Bean
It's not a secret anymore!