• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: db connect in session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: db connect in session


  • Subject: Re: db connect in session
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 09 Aug 2003 09:58:47 -0700

My first reaction is "Wow, you are doing something really wrong!".

EOClassDescription code?!!?  I've done some fairly advanced WO work and
only twice have I needed to do anything with EOClassDescription.  I'm
almost as puzzled about the redundant EOEditingContext code.  Either you
are really jumping in at the deep end or you're doing something wrong.  I
can see having some duplication of EOFetchSpecification code.  These can
also be placed on the eo objects or in the EOModel.  Either is a better
place than Session (if I understand what you are doing).

Perhaps you can post some code samples to demonstrate what sort of code you
are concerned with.


Chuck


At 08:20 AM 09/08/2003 -0700, Jeff Martirano wrote:
>I'm new to WO, and I'm trying to figure out the best application design
>patterns. I've been testing things by making some apps, and realized I
>was using a lot of redundant code for EOEditingContext,
>EOClassDescription, and EOFetchSpecification declarations and of course
>actually setting those properties. I put the declarations and set the
>variables in the Session.java and it worked, but does it make sense to
>do so?
>
>I can see that I'm going to have a lot of basic application design
>questions as I'm learning WO, is there a resource to read up on some of
>this? The books seem to just have tutorials on how to get certain jobs
>done, not necessarily putting the big picture in focus.
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: db connect in session
      • From: Jeff Martirano <email@hidden>
References: 
 >db connect in session (From: Jeff Martirano <email@hidden>)

  • Prev by Date: db connect in session
  • Next by Date: Re: good beginner's java books?
  • Previous by thread: db connect in session
  • Next by thread: Re: db connect in session
  • Index(es):
    • Date
    • Thread