473,396 Members | 2,013 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,396 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 1415
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.