Leaving WO (Ricardo Legorreta)

2009-12-01 Thread Ricardo Legorreta
Very bad news, you have been an excellent help for all Java Client developers 
(I´m another JC fanatic) . Specially with JBND framework.

Thanks for all your help. Keep in touch.

Ricardo

> Hi all,
> 
> I am leaving my current job, and consequently WebObjects. I am writing just 
> to say bye to the community :) My first programming job was with WebObjects, 
> so this community is also special to me in the sense that I learned a lot 
> about how cooperative programming can be, and how much fun interacting with 
> other engineers is. So, kudos to you all :)
> 
> As for JBND, John Ours will be taking the lead in it, though we have not 
> discussed yet if the website and the resources will be moved to a different 
> location or not. I will of course continue supporting it as much as possible.
> 
> As for me, I plan to study computer sciences in Zagreb, Croatia, where I am 
> from. As far as I know there is little or none Apple based dev there, so I 
> guess I will just have to build something up from scratch. In the meanwhile I 
> am focusing on Cocoa programming, bass playing, and whatever else comes my 
> way.
> 
> So, the best of regards to you all, it's been damn good. And if you're ever 
> in Zagreb, the beer's on me.
> F
> 
> http://web.mac.com/flor385/when/
> http://web.mac.com/flor385/notesmack/
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
> 
> This email sent to webobje...@avendasora.com
> 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Java Client (topic of the day!)

2009-03-26 Thread Ricardo Legorreta
I could not be more agree that JC is the best kept secret in WO. We  
have been using other platforms that are not WO (e.g., weblogic,  
hibernate and Flex), and in my believe (not try to start a discussion)  
what you can do with JC and WO are far away. Thanks for the help from  
Dave and Florijan plus many Swing libraries in the market (e.g.,  
JideSoft and Swing labs) our front end apps looks nicer and more  
powerful.


I encourage to keep JC developers group alive and growing.

R. Legorreta


Message: 6
Date: Wed, 25 Mar 2009 20:59:23 -0400
From: John Ours 
Subject: Re: Java Client (topic of the day!)
To: Stamenkovic Florijan 
Cc: Development WebObjects 
Message-ID: 
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On Mar 25, 2009, at 6:22 PM, Stamenkovic Florijan wrote:


Cool to see that the hard work is being put to use :D For a while it
seemed like Dave and I were the only ones out there...


You know I was just telling someone here that WebObjects is the best
kept secret in web development, and now I'm starting to think Java
Client is the best kept secret in WebObjects.  A Swing front end with
a WebObjects middle feels so right.

We're seeing a real trend here with our customers - ones who moved
line of business apps into the browser a few years ago - wanting to
move them back to the desktop.  They keep saying something about
employee productivity... ;-) ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Java Client (topic of the day!)

2009-03-26 Thread Ricardo Legorreta
I could not be more agree that JC is the best kept secret in WO. We  
have been using other platforms that are not WO (e.g., weblogic,  
hibernate and Flex), and in my believe (not try to start a discussion)  
what you can do with JC and WO are far away. Thanks for the help from  
Dave and Florijan plus many Swing libraries in the market (e.g.,  
JideSoft and Swing labs) our front end apps looks nicer and more  
powerful.


I encourage to keep JC developers group alive and growing.

R. Legorreta


Message: 6
Date: Wed, 25 Mar 2009 20:59:23 -0400
From: John Ours 
Subject: Re: Java Client (topic of the day!)
To: Stamenkovic Florijan 
Cc: Development WebObjects 
Message-ID: 
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes


On Mar 25, 2009, at 6:22 PM, Stamenkovic Florijan wrote:


Cool to see that the hard work is being put to use :D For a while it
seemed like Dave and I were the only ones out there...


You know I was just telling someone here that WebObjects is the best
kept secret in web development, and now I'm starting to think Java
Client is the best kept secret in WebObjects.  A Swing front end with
a WebObjects middle feels so right.

We're seeing a real trend here with our customers - ones who moved
line of business apps into the browser a few years ago - wanting to
move them back to the desktop.  They keep saying something about
employee productivity... ;-)

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

clearing a toMany relationship fault in Java Client

2008-09-04 Thread Ricardo Legorreta
So far so good I tested  
ERXEOControlUtilities.clearSnapshotForRelationshipNamed it works ok...


But for the server side only.

 I´ve problems in a Java Client since in the server I´ve the correct  
toManyRelationship NSArray data (i.e., refreshed) , but in the client  
side I´m still having the old cache NSArray data from the relationship.


Any idea what I need to do?

Ricardo.

Date: Wed, 3 Sep 2008 11:29:27 -0700
From: Chuck Hill <[EMAIL PROTECTED]>
Subject: Re: clearing a toMany relationship fault
To: Lachlan Deck <[EMAIL PROTECTED]>
Cc: Development WebObjects 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

This is something that really should get done as part of a refreshing
fetch.  I think bugs have been filed on this, but another voice
increases the priority.

Was there some other place you were thinking of having this called
automatically?  It might be useful to add a refresh() method to
ERXGenericRecord that would refresh the snapshot and all to-many()
relationships.  But then... what about the related objects?  How far
do you go?


Chuck


On Sep 3, 2008, at 5:04 AM, Lachlan Deck wrote:


Okay, so there's
ERXEOControlUtilities.clearSnapshotForRelationshipNamed[InDatabase]
(which saves me a few lines of code :) but which doesn't appear to
be auto-called from anywhere(?). Would it be useful for there to be
a property that does something like this automatically?

What I've now got in my ERXGenericRecord subclass now is:
public void awakeFromFetch( EOEditingContext editingContext )
{
super.awakeFromFetch( editingContext );

if ( editingContext ==
EOSharedEditingContext.defaultSharedEditingContext()
 &&
ISHApplication
.ishApplication
().hasFetchedInitialSharedRecordsForEntity( entityName() ) )
{
for ( Enumeration< ? > en =
classDescription().toOneRelationshipKeys().objectEnumerator();
en.hasMoreElements(); )
{
String key = en.nextElement().toString();
EORelationship inverseRelationship =
entity().relationshipNamed( key ).inverseRelationship();
if ( inverseRelationship != null &&
inverseRelationship.isToMany() )
{
EOEnterpriseObject eo = ( 
EOEnterpriseObject )valueForKey( key );
if ( eo != null )
// this next line covers Anjo's 
code from the wiki page below

ERXEOControlUtilities.clearSnapshotForRelationshipNamed( eo,
inverseRelationship.name() );
}
}
}
}

This is working fine. Is there any suggestions on anything else that
might need doing for completeness?

On 03/09/2008, at 5:07 PM, Lachlan Deck wrote:


Hi Simon,

On 03/09/2008, at 4:37 PM, Simon McLean wrote:


this might help:

http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/Caching_and_Freshness#Refreshing_Many-to-Many_Relationships


Yes - that's exactly the sort of stuff I'm trying to solve.

Question: is there some property in Wonder that does this
automatically?


On 3 Sep 2008, at 07:34, Lachlan Deck wrote:


Hi there,

just wondering ... how would I go about clearing the faults for
certain toMany relationships of an object. i.e., I'm iterating
through certain toMany keys and I want to obtain the faults
without firing them (best case scenario) and then clear them so
that they are refreshed.

Any suggestions?


with regards,
--

Lachlan Deck
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

The "Mobile me" web apps

2008-06-13 Thread Ricardo Legorreta

I use them a lot to do all binding and here are some comment:

- They´re good and elegant solution.
- We use them since NeXTStep, so we are custom to use to them. Also it  
is mature and proven technology.
- Subclass EOAssociation and include other swing components (e.g.,  
JXDatePicker from SwingLabs) is easy.

- They are bi-directional.
- To create and have different aspects you can do many things, not  
just 'action' and 'enable' aspects.


I don´t know in detail Florijan framework, but so far, I believe  
Florijan gets the same functionality but with a complete different  
approach.


Let´s wait what Florijan has to say.

Ricardo.


Message: 10
Date: Thu, 12 Jun 2008 21:48:34 -0700
From: "John Huss" <[EMAIL PROTECTED]>
Subject: Re: The "Mobile me" web apps
To: "WebObjects Development" 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Florijan (who does the jbnd framework for JavaClient) doesn't seem to  
like

EOAssociation.  What are the pros and cons of using them?

John

On Thu, Jun 12, 2008 at 7:12 AM, Ricardo Legorreta <[EMAIL PROTECTED]>
wrote:


Message: 5
Date: Wed, 11 Jun 2008 22:06:50 +0200
From: Stephane Guyot <[EMAIL PROTECTED]>
Subject: Re: The "Mobile me" web apps
To: WebObjects Development 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed

Use JC and maybe JC components (from DTC ):

We have been working with JavaClient for several months with the  
following

approach:

- Develop an EOF, displaygroup and EOAssociation bindings with
JFormDesigner and of course swing.
- Include many SwingX component from SwingLabs project, and other cool
swing components with animation.

We have developed in Flex 2.0 and of course in Cocoa, WO 4.5,  
NeXTStep...

Flex is good but also I strongly recommend you to
try JavaClient with the EOAssociation bindings and use all the nice
JavaSwing technology that is out here.

Ricardo.

--



Ricardo,

interesting :-)

Can someone speak about "the wonderful Ajax frameworks shown at
WOWODC " or it is under NDA ?
Does Apple have something in the pipe for the RIA, RDA applications ?
Cocoa Integrated Runtime ? Cocoa-leigth js implementation ? OpenStep
like resurrection ?
Adobe is using WebKit for AIR : http://www.adobe.com/devnet/air/flex/

Any informations are wellcome, if not under NDA.

Stephane


Le 11 juin 08 à 20:56, Ricardo Parada a écrit :



Ok, most of us have probably seen the mobile me web apps.  They are

web 2.0 apps that use javascript and ajax.  There's a lot of good

stuff in those apps.  So much good stuff there.  I wished Apple

made some of that stuff available to us (developers) in some

form.  :-)


I'm guessing that the back end for those apps is using WebObjects.

I can see that in the current webmail app for .mac and I assume

that's also going to be the case for the mobile me web apps.   And

we should probably point people to all these great applications

when they have doubts about WebObjects.


Anyways, I'm just so curious if Apple is using the wonderful Ajax

frameworks shown at WOWODC or if they are using their own stuff.



___

Do not post admin requests to the list. They will be ignored.

Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)

Help/Unsubscribe/Update your Subscription:

http://lists.apple.com/mailman/options/webobjects-dev/

stephane.guyot11%40wanadoo.fr


This email sent to [EMAIL PROTECTED]



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

This email sent to [EMAIL PROTECTED]


-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.apple.com/pipermail/webobjects-dev/attachments/20080612/f663b4da/attachment.html

--

___
Webobjects-dev mailing list
Webobjects-dev@lists.apple.com
http://lists.apple.com/mailman/listinfo/webobjects-dev

End of Webobjects-dev Digest, Vol 5, Issue 659
** ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

The "Mobile me" web apps

2008-06-12 Thread Ricardo Legorreta

Message: 5
Date: Wed, 11 Jun 2008 22:06:50 +0200
From: Stephane Guyot <[EMAIL PROTECTED]>
Subject: Re: The "Mobile me" web apps
To: WebObjects Development 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed

Use JC and maybe JC components (from DTC ):

We have been working with JavaClient for several months with the  
following approach:


- Develop an EOF, displaygroup and EOAssociation bindings with  
JFormDesigner and of course swing.
- Include many SwingX component from SwingLabs project, and other cool  
swing components with animation.


We have developed in Flex 2.0 and of course in Cocoa, WO 4.5,  
NeXTStep... Flex is good but also I strongly recommend you to
try JavaClient with the EOAssociation bindings and use all the nice  
JavaSwing technology that is out here.


Ricardo.

--



Ricardo,

interesting :-)

Can someone speak about "the wonderful Ajax frameworks shown at
WOWODC " or it is under NDA ?
Does Apple have something in the pipe for the RIA, RDA applications ?
Cocoa Integrated Runtime ? Cocoa-leigth js implementation ? OpenStep
like resurrection ?
Adobe is using WebKit for AIR : http://www.adobe.com/devnet/air/flex/

Any informations are wellcome, if not under NDA.

Stephane


Le 11 juin 08 à 20:56, Ricardo Parada a écrit :




Ok, most of us have probably seen the mobile me web apps.  They are
web 2.0 apps that use javascript and ajax.  There's a lot of good
stuff in those apps.  So much good stuff there.  I wished Apple
made some of that stuff available to us (developers) in some
form.  :-)

I'm guessing that the back end for those apps is using WebObjects.
I can see that in the current webmail app for .mac and I assume
that's also going to be the case for the mobile me web apps.   And
we should probably point people to all these great applications
when they have doubts about WebObjects.

Anyways, I'm just so curious if Apple is using the wonderful Ajax
frameworks shown at WOWODC or if they are using their own stuff.


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/
stephane.guyot11%40wanadoo.fr

This email sent to [EMAIL PROTECTED]

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Not going to WOWODC this year?

2008-05-13 Thread Ricardo Legorreta
I´m trying to attend. We ´re very interested in WOWODC, specially for  
Java Client session.


If I cannot attend (because just recently I attend to JavaOne and I  
have time constraints). We

will buy all WOWODC recording sessions.

Ricardo.

Message: 5
Date: Tue, 13 May 2008 08:09:34 -0400
From: Pascal Robert <[EMAIL PROTECTED]>
Subject: Re: Not going to WOWODC this year?
To: Johann Werner <[EMAIL PROTECTED]>
Cc: WebObjects Dev Apple 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

We do plan to sell the recordings who people who didn't attend, we
just hope that we won't have the same recording problems as last year
(we shouldn't have problems, we are getting better equipment, but we
never know).

More news on this after WWDC.


Hi Chuck,

that's a quite interesting/impressive session list for WOWODC.
Unfortunately there are no funds for me to attend it this year (but
looking forward that it will change next time :-). This brings me to
the question: will there be a WOWODC recordings only purchase
available? Recordings are only mentioned as addition to attending
the conference.

jw

Am 12.05.2008 um 23:43 schrieb Chuck Hill:


Hi,

Not coming to WOWODC (http://www.wocommunity.org/wowodc08/) this
year?   Why is that?  We had over 80 people at last year's WOWODC,
but only 64 have registered so far for this year's conference.
There seemed to be a lot of interest at last year's conference in
doing it again and even more in having a 2 day conference this
year.  For people who attended last year who aren't attending this
year, can you let us know why?  Private replies are fine.

If you have not registered, there is still time!  On-line
registration will be open until May 22nd:
https://robot.boxofficetickets.com/800-494-TIXS/WebObjects/BOTx2005.woa/wa/inspectSubprogram?id=219141&passKey=5aa3d5d452

You can also register at the door, but we can't guarantee there
will be food for you.   Everyone will be happier if you register in
advance.

This is going to be a great two days of looking at the future of
WebObjects and boosting your skills 
(http://www.wocommunity.org/wowodc08/schedule.html
) in addition to getting to meet and talk with other WebObjects
professionals.  WWDC might be a waste of time, but these two days
will not!


Thank you,
Chuck


--

Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects





___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/werner%40isd.uni-stuttgart.de

This email sent to [EMAIL PROTECTED]


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca

This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Converting character sets in WO.

2008-03-14 Thread Ricardo Legorreta
Does anybody had used character set = nextstep (old character set, and  
an old app) with WO 5.4 (i.e., using JDBC).


Thanks,

Ricardo.
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Sybase character set problem

2008-03-13 Thread Ricardo Legorreta
We are in the process to migrate a very old WO 4.5 system using  
Sybase. The Sybase server has as character set "cp850" and in the  old  
EOModel WO 4.5 we added the databaseEncoding = "NEXTSTEP" instruction  
in the adaptor info. Everything worked fine.


Now we use WO 5.4 and JDBC (Sybase JConnect version 6.0) and nothing  
appear to display the non english characters correctly (e.g,  
á,é,í,ó,ú, ñ, etc) . I tried the CHARSET parameter in the JDBC  
URL(.e.g, jdbc:sybase:Tds:/? 
CHARSET=cp850&JCONNECT_VERSION=6)  and many other options, none worked  
correctly


Does anybody had the same problem before?

Thanks,

Ricardo. ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Fwd: Why I hate Java Client (I hope this could help you)

2008-02-21 Thread Ricardo Legorreta


Helo Dave:

Yes and no. What I´m meant is that I could move them but without  
using the rule machine. This is how:


- 1st:  All my D2JC screens using the Assistant (in WO 5.3) I  
freezed them in a XML file. The ones that already have been freezed,  
no modification was done.
- 2d: I develop a class called MyControllerFactory that work similar  
as the EOControllerFactory class but without calling the rule  
machine. This is how it works:
+ This class (in the client side) calls the server to get the  
XML file of the WOComponent that I want to show.
+ With the XML file, the MyControllerFactory class parse it and  
instantiated the D2J classes (EOFormController, EOListController,  
EOTextFieldController, etc.) programatically (see the JCEntityViewer  
example if you need more detail).

- 3rd: Show the root controller as a Window or Modal screen.

So far it worked ok, but I have not tested with all D2J classes.

note: I have to develop some minor additions:

(a) Need to subclass the EOFormController and EOListController to  
catch the defaultActions() method in order NOT to go to the ruler  
machine and return the NSArray of  EOActions statically.
(b) With these two subclasses I have to override some methods (i.e.,  
OpenWithTask, InsertWithTask and insert) in order to do the actual  
operation without the rule machine.


Result: All the D2J screens keep the same. What I throw away was the  
rule machine (too complicate and time consuming for me to simulate  
its operation). The migration for existing D2J system was not so  
hard since we did not use the rule machine very much.


The rule machine some how gave you the screen flow between D2J  
screens; this flow you have to re-code and you could do it in many  
ways (i.e., in the client (e.g, I add extra tag in the  
EOFormController called 'nextTask') or in the server).


I hope these ideas could help you.

Ricardo.



From: David Avendasora <[EMAIL PROTECTED]>
Date: February 21, 2008 12:45:32 PM GMT-06:00
To: Ricardo Legorreta <[EMAIL PROTECTED]>
Cc: webobjects-dev@lists.apple.com
Subject: Re: Why I hate Java Client

Hey Ricardo,

I'd like to move to WO 5.4, but my core application is D2JC right  
now. I'm planning on moving it straight JC using Flor's JBND  
framework in the near future, but I'm stuck with it for now.


Can you get D2JC apps to work with 5.4 by bringing over the 5.3  
D2JC classes? If so, how?


Thanks,

Dave


On Feb 21, 2008, at 12:58 PM, Ricardo Legorreta wrote:

More to JC in my case for simple screen I´m still using the D2JC  
controllers classes programatically with WO 5.4.1






 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Why I hate Java Client

2008-02-21 Thread Ricardo Legorreta
I´m 100% agree with Florrijan.  I´m using JC a lot, and sometimes it  
is much better solution for intranet, than Flex/Hibernate or other  
intranet platforms that I worked with (I´m not trying to open a  
discussion of what solution is better, what I´m trying to point out is  
that JC is very good).


If you use the Florrrijan binding framework with JFormDesigner tool,  
or develop your own binding framework (as I did). You can develop  
screens very fast. More to JC in my case for simple screen I´m still  
using the D2JC controllers classes programatically with WO 5.4.1


Another happy developer using JC.

Ricardo.

Message: 4
Date: Wed, 20 Feb 2008 19:11:47 -0400
From: Florijan Stamenkovic <[EMAIL PROTECTED]>
Subject: Re: Rant: Why I hate Java Client
To: "Pierce T. Wetter III" <[EMAIL PROTECTED]>
Cc: Development WebObjects 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


So this is some sort of config problem, brought on somehow by the
fact that I've moved all the .jar cruft we had hanging out in /
Library/Java/Extensions into a framework. It looks like the server
is forwarding some sort of EOGeneralAdaptorException to the client
which might have had useful information in it but client has no
idea how to unarchive it because for some reason it can't access
eocasses, so it then throws a completely different exception on the
client side.


Interesting situation. The eoaccess package is not provided because
it contains stuff that is irrelevant to the client. Mostly the
"connect to database" stuff. So it makes sense it is not there.

Like Lachlan says, log the exception on the server.


Plus none of this stuff works for me from Eclipse, because no one
ever got around to porting it fully to Eclipse when they moved the
rest of the projects over.

Meanwhile, the Support folks are whining, because I lowered the
boom and told them Java Client was going away,


Very much not true. Let the light of the JC sun shine on you and
realize: Apple is not dropping it! YAY! :)


so they have to adjust to an app that isn't just a thin coat of
paint over Direct2JavaClient and actually come up with a
specification for what all they use this piece of shit for.

I've spent 40 hours over the last 2 weeks fighting with this stupid
thing. It takes me about an hour to build a screen in the new app
that will replace this crap.


The new app being based on which technology? Might I suggest
switching to WO Java Client "the third way"? No D2JC, no Interface
Builder to Swing translation... It will still be possible to get
exception stack traces that are somewhat obscure (until you get used
to it at least, and apparently especially so if the root of the
problem is a thrown EOGeneralAdapterExeption), but they will be
shorter :)

Best regards,
Flor

of

The Perpetually Happy WOJC Lobby :)
or simply TPHWOJCL

p.s. - before you ditch JC as a lost cause, well, I've invested a
_lot_ of time looking for a good rich GUI client - server tech that
we could use in my company. Still sticking to WO, regardless of some,
minor, annoyances.

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: [ANN] building JavaClient without nib but using swing gui with eclipse+wolips

2008-01-11 Thread Ricardo Legorreta

Hi David,

I have a D2JC project that I 'more less' migrate to WO 5.4 with the  
following considerations that I hope it will help you:


- Even if you have all classes in WO 5.4, some are very difficult to  
migrate (e.g., EOControllerFactory, Rules, etc). So my decision was  
not to use the rules and any other related class.
- I re-programed the rules behavior in the Client side (application  
specific behavior). What I want to do in the future is instead to use  
the rule machine is to use a simple BPM Java framework to handle all  
screen workflow.
- What it still exists is the EOController class and its subclasses.  
So you still can generate dynamic windows. So in the Client side I  
called the server for the JC WOComponent template. I parse this XML  
descriptor and generate the EOControllers programatically (see  
EntityView example) like the EOControllerFactory in WO 5.3 actually  
does.


I have not testes fully yet, but so far it is working. This keeps your  
JC WOComponents intact.


What I found impossible to migrate is al the Assistant work (e.g.,  
user.d2wrules file) so I plan to use D2W instead for this simple  
screens.


I hope this will help you.

Ricardo.

.

Hi David,

I do'nt know. I have abandoned from much time the D2JC development why
it is (was) very difficult to customize them

Paolo

Il giorno 10/gen/08, alle ore 17:47, David Avendasora ha scritto:


Hey Paolo,

Thanks for this! I haven't had a chance to do anything with it yet,
but anything that will make JC development better is VERY welcome.

I have a D2JC project right now that I want to transition to
straight-Swing JC. Is there anyway to use/convert the XML that I can
grab out of the D2JC Assistant to use with this?

Thanks!

Dave


On Jan 7, 2008, at 5:36 PM, Paolo Sommaruga wrote:


I have made quite a lot of job in order to add some documentation at

http://www.jpaso.com/name/XMLBindingForJavaClient

on how to using the framework I have made that it allow one to
build a JavaClient applications for WO5.3.3/5.4 without to use the
Interface Builder neither the nib files but using java swing gui
and a xml binding engine. In the site one can download the
framework  and some working examples. There is also a guide that
illustrate how to building from scatch an eclipse+wolips project
for a JavaClient of this type. Hope that it can be useful to some
java client developer

Regards

Paolo Sommaruga
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Event firing from changing EOs

2008-01-07 Thread Ricardo Legorreta

Dear Flor.

The getter and setter methods are ok, but it think there is a better  
way. This is how the EOAssociation (and its subclasses) works.


They are bidirectional: From the widget to the EODisplayGroup the  
EOAssociation class, I believe they are listener (analyzing the code  
generated by the old nib files in the EOArchive class), but from the  
EO to the the widget I believe the EOAssociation uses the  
EODisplayGroup class.


The EOAssociations does not need to sublcass the EO.

Why not use EOAssociations and EODisplayGroup?

Ricardo.


***

Thanks for the reply. I do not need this for logging. Where I need it
in are Java Client applications. I am just finishing up a library
that will make it quite easy to build WO + Swing applications. The
library is totally event driven, all the GUI controllers and all that
stuff has been made to respond to events fired by EOs that have
changed. So, the end purpose is keeping the GUI in synch with the
current state of EOs.

So, if the changes in the end get saved to the database or not is not
relevant in my scenario.

That being said, what do you think? Till now my solution was to use
EOGenerator to define setters that take care of event firing, when
needed. This works, but I always wanted to do this more elegantly,
and overriding the mentioned methods seems just about right. I am
just wondering if EOF can at any time for any reason bypass them.
Reading the API makes me think it can not, but I wanted to check...

Flor

On Jan 06, 2008, at 19:03, Guido Neitzer wrote:


On 06.01.2008, at 15:53, Florijan Stamenkovic wrote:


I am trying to make an EOGenericRecord subclass that will
automatically fire events when new values are set. It is
imperative that the event firing is absolute, nothing can be
allowed to slip by, if a property changes in any way, an event has
to be fired.


Hmm. Do you want to log the change in the EO or the change in the
database? Because if you log changes to the EO, you might end up
with logged stuff that was never saved and therfor does not exist
outside the scope of where the change happened (and was reverted).

What I did for logging changes to EOs was checkin in
"willUpdate" (using Wonder) by getting the changes from the
snapshot. I also have some code to check whether relationships
change but that is not really thought out completely.

cug

--
http://www.event-s.net

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Making example WO apps

2007-12-24 Thread Ricardo Legorreta
I do not speak for everybody, but in my case and I think almost all WO  
developers using JC and looking for the WO + String databinding, we  
came from WO 5.3.


So we have Openbase installed with the example DBs. If you use the  
WORealState DB (or any other in the example) is fine.


Ricardo.

--

Message: 1
Date: Sat, 22 Dec 2007 17:52:30 -0400
From: Florijan Stamenkovic <[EMAIL PROTECTED]>
Subject: Making example WO apps
To: Development WebObjects 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hi all,

I am getting closer to launching my WO + Swing databinding library
(currently working on the Swing connections part, the rest is done)
and intend to make a simple example application to demonstrate some
of it's capabilities, and to make it easier for people to start with
it. So, I am wondering which database to use... At first I thought of
making a simple database schema, but as I remember WO ships with some
example databases, which are already populated and ready to be used.
I've never worked on anything like this, so I have a few questions:

1. Which of the example databases to use? I am looking for something
simple, a few tables, a few relationships, various types of
attributes, but nothing much.
2. How is 5.4 regarding that? Does it ship with the example
databases? I've read something in the documentation saying that
OpenBase is not included anymore with WO, and IIRC all the example
databases in 5.3 and earlier were in OpenBase...
3. Has anyone done this? Trying to make an example run-on-everything
WO app seems impossible (especially if 5.4 does not come with pre-
installed dbs, regardless of the vendor), and I really would like to
make it easy for people new to WO/WOLips/Eclipse/SQL...
4. If 5.4 make this somehow possible, but in a way that is different
then in 5.3, would somebody be willing to port the server app (the
client code should be functional on both versions)?

Any advice is welcome.

Thanks,
F


-- ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

EOModeler: Migration from XCode to WOLips and WO 5.4

2007-12-20 Thread Ricardo Legorreta

I had a JC app in WO 5.3 (and XCode) with a class like:

businesslogic.common.user

with two sublcasses:

businesslogic.client.user
businesslogic.server.user

The class businesslogic.common.user has all attributes common to the  
client and the server (i.e., name, e-mail address, etc.).


The class businesslogic.client.user has all attributes just for the  
client  (i.e., none for my app).


The class businesslogic.server.user has all attributes just for the  
server (i.e., password).


When I tried to migrate to WOLips there is nothing in the EOModeler  
where I can define the client class and the server class. In the  
deprecated Apple develop tool EOModeler I could differentiate both  
classes and the instantiation will be done as expected for the  
EOEditingContext in the client side and EOEditingContext in the server  
side (I suppose that work was done by EODistribution class)


Any idea how can I solved this problem using WOLips?

Thanks,

Ricardo Legorreta

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Java Client nib based Apps and WO 5.4

2007-12-06 Thread Ricardo Legorreta
We developed a system using DTJ and Java Client nib based apps. Now  
that these technologies does not exists anymore in WO 5.4, after the  
frustration period, I need to keep going: switch to eclipse and wolips  
is a must, and also forget about DTJ (many easy catalog based apps  
were done this way).


My problem is what to use instead Java Client nib based apps. I heard  
someone are using JFormDesginer or other tool. ¿Any ideas?


If somebody has been working with swing GUI editor with WO using  
EODistributor I have these questions:


- How do you solve the EOAssociation paradigm, do you developed you  
own EOAssociation (and all its subclasses).
- How do you solve the EOInterace (EODisplayGroup,  
EOInterfaceController, etc) paradigm.
- Do I have to solve these issues programmatically (low level  
programming for me), or there is any other better solution out there.


Any idea will be very help full.

Thanks,

Ricardo. ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]