473,383 Members | 1,877 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,383 software developers and data experts.

can you look at data as objects?

Sorry for the obvious newbie type question. :< And I know doing stuff in
Java is not 100% transferable to c#/.net, so I apologize for my ignorance.
But I am asking, therefore trying to learn.

In j2ee you can create entity ejbs to model data as objects. The benefit is
you can use the objects in your code as just that, objects. I haven't been
able to see if .net can do this, is this true/false? Oh, before you get too
far with wrtting things up, I'm just looking for a nudge in the right
direction as opposed to being teleported to the spot as I'm not ready to
implement, but still inquisitive none the less.

Thank you! :>
Nov 22 '05 #1
4 1036
Flip,
You can use either a Typed DataSet to represent your "data" as objects, or
you can create a Domain object model to represent your "data" as objects.

A Typed DataSet is an implementation of Martin Fowler's Record Set pattern:
http://martinfowler.com/eaaCatalog/recordSet.html

Martin Fowler's "Patterns of Enterprise Application Architecture" from
Addison Wesley can be found here: http://martinfowler.com/books.html#eaa

Hope this helps
Jay

"Flip" <[remove]ph******@hotmail.com> wrote in message
news:ul**************@tk2msftngp13.phx.gbl...
Sorry for the obvious newbie type question. :< And I know doing stuff in
Java is not 100% transferable to c#/.net, so I apologize for my ignorance.
But I am asking, therefore trying to learn.

In j2ee you can create entity ejbs to model data as objects. The benefit
is
you can use the objects in your code as just that, objects. I haven't
been
able to see if .net can do this, is this true/false? Oh, before you get
too
far with wrtting things up, I'm just looking for a nudge in the right
direction as opposed to being teleported to the spot as I'm not ready to
implement, but still inquisitive none the less.

Thank you! :>

Nov 22 '05 #2
Within the confines of the drag and drop software model? No, at least not
until ObjectDataSources in .NET 2.0 (Visual Studio 2005 underlying
framework), which is in beta now. This will be further enhanced in Longhorn
with ObjectSpaces, which is an ORM framework.

Underlying the DataSet model are a set of classes, but they are not true
"business objects" like correctly architected EJBs.
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

"Flip" wrote:
Sorry for the obvious newbie type question. :< And I know doing stuff in
Java is not 100% transferable to c#/.net, so I apologize for my ignorance.
But I am asking, therefore trying to learn.

In j2ee you can create entity ejbs to model data as objects. The benefit is
you can use the objects in your code as just that, objects. I haven't been
able to see if .net can do this, is this true/false? Oh, before you get too
far with wrtting things up, I'm just looking for a nudge in the right
direction as opposed to being teleported to the spot as I'm not ready to
implement, but still inquisitive none the less.

Thank you! :>

Nov 22 '05 #3
Thank you Jay and Cowboy! :> I'll take a look at those links at lunch! :>
Nov 22 '05 #4
Thank you Jay and Cowboy! :> I'll take a look at those links at lunch! :>
Nov 22 '05 #5

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

Similar topics

16
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
6
by: kobu.selva | last post by:
I was recently part of a little debate on the issue of whether constants and string literals are considered "data objects" in C. I'm more confused now than before. I was always under the...
2
by: jason | last post by:
the enterprise is going to eventually convert the existing ASP Classic website to ASP.NET until that time, development has already begun for a C# library of business objects. for the most part,...
5
by: Shibu | last post by:
Hi, I have a situation where I need to convert business objects to a flat table. The reverse is also required. I am using c# and Oracle ODP. I am looking for an easier method to do the below...
0
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
2
by: garyusenet | last post by:
I could do with something similiar, can you tell me if you think this would work for me, and if there's any advantage in working with controls this way than how I currently am. At the moment...
3
by: antred | last post by:
Hello everyone, While working on a program I encountered a situation where I'd construct a largish data structure (a tree) from parsing a host of files and would end up having to throw away...
13
by: castironpi | last post by:
I want to hash values to keys. How do the alternatives compare?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.