473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Persistent Business Objects without frameworks?

Hi,

I am a big fan of coding using business objects - even though it takes
a little extra time over using datasets etc. I think it's worthwhile.

However, I really get stuck when attempting to implement persistence of
one-to-many and many-to-many object relationships, where a single
"Person" has many subordinate objects such as addresses, or where a
single order may be associated with many order details and in turn many
products.

I know there are many framework products out there that cope very
nicely with this problem, however I am keen to understand exactly
what's happening "under the bonnet" - how one can read, allow
modification and then persistence back to the database.

Does anyone have any pointers or links to any sample code they might
point me at? Thanks.

M

Jul 25 '05 #1
1 1417
http://jcframework.sourceforge.net/
This is open source persistent framework.

"Matt" wrote:
Hi,

I am a big fan of coding using business objects - even though it takes
a little extra time over using datasets etc. I think it's worthwhile.

However, I really get stuck when attempting to implement persistence of
one-to-many and many-to-many object relationships, where a single
"Person" has many subordinate objects such as addresses, or where a
single order may be associated with many order details and in turn many
products.

I know there are many framework products out there that cope very
nicely with this problem, however I am keen to understand exactly
what's happening "under the bonnet" - how one can read, allow
modification and then persistence back to the database.

Does anyone have any pointers or links to any sample code they might
point me at? Thanks.

M

Jul 25 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Perry St-Germain | last post by:
Typically C++ persistence implementations, (from the little I've seen), boils down to something like this: myclass { int ivar; float fvar; ... saveyourself( file ) {
4
by: M?rio Amado Alves | last post by:
Will you help an outsider trying to trace the current state of persistent object technology? "I expect that there will be persistent object stores with STL-conforming interfaces fitting into the...
2
by: hans | last post by:
Hi! I am new to .NET (coming from Java). We have to implement a desktop application which extracts data from a database, does some analysis, filtering etc. and displays the results. I have...
2
by: LC | last post by:
Hi, Anybody have a design pattern to implement persistent objects. I need to persist my business objects. Something like this code examples: //to create a new one Document doc = new...
25
by: Stuart Hilditch | last post by:
Hi all, I am hoping that someone with some experience developing nTier apps can give me some advice here. I am writing an nTier web app that began with a Data Access Layer (DAL), Business...
9
by: Hasan O. Zavalsiz | last post by:
Hi , i am trying to figure out which approach is better to use . let me explain the scenario. i am using the "Nortwind" database . in this database i have "Customers " table .The following is the...
1
by: Matt | last post by:
Hi, I am a big fan of coding using business objects - even though it takes a little extra time over using datasets etc. I think it's worthwhile. However, I really get stuck when attempting to...
25
by: Penelope Dramas | last post by:
Hello, I'm in a front of very serious .net redesign/rewrite of an old VB6 application. I had been asked to make it .NET 2.0 and would like to ask couple of questions regarding data access as...
3
by: sanchita | last post by:
Hello everyone, I didn't get any response in "Security" forum hence posting here again. I am having problem with persistent cookies. Even after setting "CreatePersistentCookie" to true in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.