webobjects-dev Mailing List http://lists.apple.com/archives/webobjects-dev/2009/Nov/index.html webobjects-dev Mailing List Sat, 07 Nov 2009 16:00:31 +0000 Re: Inner Java Enum as value class in EntityModeler [SOLVED] http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00380.html Reply to list

Hi Johann,  
Thank you for your advice. As you suggested, solving the issue was  
just a matter of tweaking the templates. I'm using some custom written  
ones but for anyone with the same issue it's just a matter of  
sprinkling a bunch of '.replace('$','. [...]
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00379.html Reply to list

You could argue that it doesn't matter much if a JavaClient looks awful
on the Mac since 90% of your user will be running Windows - and
probably more for a business application.  Also, the Nimbus
look and feel introduced in Java 1.6 is pretty nice, and available for
Java 1.5 with a separate library. [...]
]]>
Re: Installing WO 543 on Linux http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00378.html Reply to list
[...]

You need to force the CC var to be CC=gcc

http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=196936&navigatingVersions=true

[...]
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00377.html Reply to list
[...]
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00376.html Reply to list
Op 7 nov 2009, om 06:20 heeft Ashley Aitken het volgende geschreven:

[...]

It is really sad to see such great technology wither. I fully agree with David on the power of D2JC. 

The argument on java being ugly could have been solved years ago by implementing the laf (Look And Feel) extensions properly. The hooks are all there in the java frameworks.

The argument that developing for the browser is easier and deloyment quicker does make sense. However, there is Java Webstart, which is a great technology to get fresh client updates magically. It is just as powerful to get fresh updates as to rely on the webserver to push the new workings to the browser. (i just had some interesting experiences by the way with caching old pages in Safari. It starts to get more and more as Explorer  ("I don't see the changes in the website!" "Do you use Explorer?" "Yes, everybody does." "First empty the caches, Then stop Explorer. Then download Netscape/Mozilla/FireFox/Opera. Now remove Explorer. Oh wait. Cant do that. Anyway, look again at the website").

The Remote Method Invocation of D2JC is so much stronger than  XMLHttpRequest, no debugging ajax requests, etc. It just works. 

Oh, and security. I know that every technology has its bugs. But there are -give and take-  3 JVM's in the world. There is a 1000 flowers blossoming amount of webbrowers on this planet with each their own implementation of javascript and related technologies. Keyloggers, cross side scripting are all over the place. Not too mention this nice Flash plugin that seems to wreak havoc everytime a new machine gets introduced. 

Of course there is one more thing. 

The iPhone. 

Who gives a sh*t about a phone that does not have an sd slot and a replaceable battery?

(Disclaimer: I own an iPhone too. I wanted to test it as a QRcode scanner. It did not work out. I am looking for third party solutions of barcode scanners to attach to smart phones, be it Android. Symbian. iPhone, whatever).

I Apple would have given the same amount of love to D2JC as it did to the normal WebObjects development tools….

Oh wait. It did. 

It seems once again, corporate sense and common sense are on a diverging path.

[...]

http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



 
]]>
Re: Inner Java Enum as value class in EntityModeler http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00375.html Reply to list

Hi Riccardo,  
some time ago I had the very same problem using inner enums in Entity  
Modeler. I found that the easiest way was to move those enums out of  
their outer class and make them "normal" enums. The other, more  
laborious, way would be to tweak the eogenerator templates to do the   [...]
]]>
Re: Installing WO 543 on Linux http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00374.html Reply to list

Sorry, I found apxs but this is the error I'm getting:     apxs -i -a -n WebObjects mod_WebObjects.la  /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/libtool' mod_WebObjects.la /usr/lib/httpd/modules  /usr/lib/apr-1/build/libtool --mode=install cp mod_WebObjects. [...]
]]>
Installing WO 543 on Linux http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00373.html Reply to list

Hi all,    Following the instructions at:     http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux     Building the Apache WO Module, I'm running into this problem:      /usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects. [...]
]]>
Inner Java Enum as value class in EntityModeler http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00372.html Reply to list

Hi,  
This issue was already discussed once but I can't really find if it  
was fixed somehow and I'm missing the obvious. 

I'm trying more and more to force myself to use Java Enums whenever  
possible (instead of static fields) and often I find myself in need to  
serialize them to db for storage. [...]
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00371.html Reply to list
I'm always blown away by the power of D2*, especially D2JC (even given  
the "Java GUI").  I was never too clear on the development process  
after having built the CRUD, it seemed less quite mysterious (and not  
very well documented). 

However, I thought these parts of WO haven't been getting much love  
from Apple lately?  What is the status of D2JC and D2W and D2WS?  Has  
anything been updated by Apple?  I know that Apple's tools have been  
deprecated / removed.  Is D2* still used by Apple? 

 Cheers,
Ashley.  
  --
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
Skype Name: MrHatken (GMT + 8 Hours!)  



 
]]>
Re: ERXEOControlUtilities.clearSnapshotForRelationshipNamed(..) weirdness ! http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00370.html Reply to list

IIRC, setting the fetch timestamp lag to now was what I needed to get  
the object refetched from the database and merged with pending  
changes, if any, when I specifically had to do this to address a  
specific situation 2 weeks ago. I verified by fiddling in two separate  
instances ..... [...]
]]>
RE: Using hardware based certificates http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00369.html Reply to list

Greetings Asa,
Oh, I never said that I was going to create it.  I was hoping to spawn little elves that Santa Claus missed an have them put it together.   Of course, Santa Claus and some guys at Apple are faster than me. Hopefully Apple makes those elves make a SAML2 framework for us. [...]
]]>
Re: Using hardware based certificates http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00368.html Reply to list

Hi Daniel, Cheong, and Travis,

[...]

What you are talking about is creating a WebObjects SAML2 SP Framework  
that is compatible with Shibboleth IdP.  This would be fantastic, and  
I would be very interested in working on it.  It would be an excellent   [...]
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00367.html Reply to list

[...]

Usually I pick a fat client for apps with:  
 - heavy data entry (financial, legal, POS)
- client platform integration (office, telephone, cash drawer)
- occasionally connected users (road warriors)
- highly interactive reporting (BI, charting, OLAP)   [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00366.html Reply to list
all it comes down to in EM is whether your plugins support sql generation via the 5.3 API's ...    On Nov 6, 2009, at 2:50 PM, Tim Worman wrote:    CORRECTED: It was before WOLips/Entity Modeler, for me.     Tim    On Nov 6, 2009, at 11:39 AM, Tim Worman wrote:   Yes, I was able to reverse engineer our campus data store. It was before WOLips/Entity Modeler and I can't remember what tweaks I may have had to apply after.  Tim UCLA GSE&IS    On Nov 6, 2009, at 10:47 AM, Kieran Kelleher wrote:  > quoted text

[...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00365.html Reply to list

CORRECTED: It was before WOLips/Entity Modeler, for me.     Tim    On Nov 6, 2009, at 11:39 AM, Tim Worman wrote:   Yes, I was able to reverse engineer our campus data store. It was before WOLips/Entity Modeler and I can't remember what tweaks I may have had to apply after. [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00364.html Reply to list

[...]

I don't recall seeing that, or the SQL that it looks like it would  
generate.  Maybe this was added after I hit the problem?  Or, quite  
likely, it is some other MS SQL deficiency that I am recalling.  There  
are several fairly standard SQL92 type things that it just can't or  
won't do. [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00363.html Reply to list
Yes, I was able to reverse engineer our campus data store. It was before WOLips/Entity Modeler and I can't remember what tweaks I may have had to apply after.

Tim
UCLA GSE&IS

On Nov 6, 2009, at 10:47 AM, Kieran Kelleher wrote:

[...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00362.html Reply to list
... and btw it's huge and complicated. really, sqlserver?  
 On Nov 6, 2009, at 2:34 PM, Mike Schrag wrote:

[...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00361.html Reply to list
[...]

someone provided an implementation of  
ERXSQLHelper.limitExpressionForSQL for sqlserver ... does that not work? 

 ms  
 
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00360.html Reply to list

I've used both SQL Server 2000 and 2005 with WO. I have always used the Microsoft drivers. My app is really just for migrating data from a campus data store though so it is a not even a full CRUD app.

Tim
UCLA GSE&IS

On Nov 6, 2009, at 10:30 AM, Kieran Kelleher wrote:

[...] [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00359.html Reply to list

Thanks all for the great info. I must say, I really feel excited (not)  
about the chance of working with MS SQL Server. It will probably be a  
read-only app for querying, reporting and secure internet database  
access from anywhere. 

 -Kieran :-)   [...]
]]>
Re: WO Mini conference in Southern California http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00358.html Reply to list

Interesting.  
 I wonder if we could link up with NSCoder somehow.  
 I know many meet at Panera, which offers WiFi access.  
 On Nov 5, 2009, at 2:51 PM, David Avendasora wrote:  
 Hey Daniel, Josh and Tim,  
Andrew Kinnie and I are trying to work out the details for   [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00357.html Reply to list

[...]

Eeeew.  There were some more issues that I ran into.  IIRC it does not  
understand (or not correctly) LIMIT expressions so the  
ERXBatchingDisplayGroup won't work.  If you are planning on inserting  
data, be aware that the other package probably uses the identity   [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00356.html Reply to list

We ended up having to not use database level constraints to support SQL
server - our relationships seemed to be too complex to try to order
manually. It would be nice to have deferrable constraints like Oracle

Dov


On 11/6/09 1:43 PM, "David Avendasora" <email@hidden> wrote:

[...] [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00355.html Reply to list

Good info, thanks.  
Anyone know if we are able to reverse engineer an existing MS SQL  
database ..... ie., generate the EOModel form the database  
automatically? 

 On Nov 6, 2009, at 1:43 PM, David Avendasora wrote:  
 Hey Kieran,  
I used MS SQL Server 2000 extensively with my WO 5.3/5. [...]
]]>
Re: What is the proper place for frontbasejdbc.jar - JDBC driver to Frontbase on Mac OS X Leopard http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00354.html Reply to list

Dear Chuck,
thank you very much for your great (as always) explanation!  
 Sincerely yours
Bojan  
 On 6-Nov-09, at 12:28 PM, Chuck Hill wrote:  
 Hi Bojan,  
 On Nov 6, 2009, at 6:36 AM, Bojan Volcansek wrote:

[...]

Yes, it is OK. This directory is for extensions to the core Java  
API. [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00353.html Reply to list

Hey Kieran,  
I used MS SQL Server 2000 extensively with my WO 5.3/5.4 ERP project -  
and tested it some with 2005 but never used it in production. The  
biggest problem with it is that you can't defer constraints, so if you  
have DB constraints, you MUST use chuck's MSSQL plugin so that it will   [...]
]]>
Re: MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00352.html Reply to list

We use the JTDS driver from SourceForge and WO 5.4.3 and the latest Wonder
and can support MSSQL 2005 and higher. I think we had issues with the MSFT
driver the last time we tried about a year ago with lockups.

Dov Rosenberg


On 11/6/09 1:30 PM, "Kieran Kelleher" <email@hidden> wrote:

[...] [...]
]]>
MS SQL Server Compatability? http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00351.html Reply to list

I am discussing a possible project with a company that uses MS SQL  
Server for an existing ERP system. They are checking what version. Can  
anyone tell me what versions of MS Sql Server work with WO 5.3.3? ....  
WO 5.4.3?   ... and with latest Wonder of course? [...]
]]>
RE: WO Mini conference in Southern California http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00350.html Reply to list

Greetings Tim and Josh,
Would either you be up for say a coffee meet at say the Apple store at the Grove?  I am just getting my feet wet for Southern California, it would be great to run into a couple fellow WO developers.

Thanks,
Daniel Beatty
Computer Scientist, Detonation Sciences Branch [...]
]]>
Re: WO Mini conference in Southern California http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00349.html Reply to list
[...]

It's a good possibility.  It's 1 hour and 37 mins from here.  
 :-)  
 
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00348.html Reply to list

Sure, I agree yours is real and mine's a picture, but that wasn't  
really my point. My point was about visual mismatch with the native  
platform. If you're OK with the app looking .... like Java ... , by  
all means, ship it. I find Java desktop apps to be mostly visually   [...]
]]>
RE: Using hardware based certificates http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00347.html Reply to list

Greetings  Cheong,
Oh can relate.  LOL on the Platform 7.    

If I am not mistaken, both Identity Provider (IdP) that Shibboleth support (1.3 and 2.2) both have x509 support (Smartcards included).   I believe that 1.3 was written in J2EE as a servlet.   It could have been written in . [...]
]]>
Re: ERXEOControlUtilities.clearSnapshotForRelationshipNamed(..) weirdness ! http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00346.html Reply to list

[...]

Is that needed for refreshObject?  I've never been happy with what  
this method did and it is very under documented. 

 Chuck  

 On Nov 5, 2009, at 5:48 PM, Chuck Hill wrote:  
 On Nov 5, 2009, at 2:33 PM, Mark Gowdy wrote:

[...]

Is this new code, by chance?

[...] [...]
]]>
Re: ERXEOControlUtilities.clearSnapshotForRelationshipNamed(..) weirdness ! http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00345.html Reply to list

Hi Mark,  
On Nov 6, 2009, at 2:29 AM, Mark Gowdy wrote:
On 5 Nov 2009, at 22:48, Chuck Hill wrote:
 On Nov 5, 2009, at 2:33 PM, Mark Gowdy wrote:

[...]

Maybe... The Wonder version seems a bit "dirty" to me:  
    public static void refaultObject(EOEnterpriseObject eo) { 
        if (eo ! [...]
]]>
Re: What is the proper place for frontbasejdbc.jar - JDBC driver to Frontbase on Mac OS X Leopard http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00344.html Reply to list

Hi Bojan,  
 On Nov 6, 2009, at 6:36 AM, Bojan Volcansek wrote:

[...]

Yes, it is OK. This directory is for extensions to the core Java API.   
JDBC drivers qualify as such extensions.

[...]

The alternative place is in the Libraries of a framework or  
application. [...]
]]>
Re: Uses for D2JC (was: Gianduia and WO) http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00343.html Reply to list

[...]

Nice looking and it shows how powerful Interface Builder can be in  
making UIs, but mine isn't just a mock-up it's a fully functional  
application - warts and all. It really talks to the server, sync ECs,  
validates, etc. etc. Again, I dropped an EOModel into my template   [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00342.html Reply to list

OK then: for fun, try to add a sidebar that shows recent items, images  
with custom layout in the table view and a to-one relationship editing  
that is not as horrid as it is. 

My uneducated bet is that Mike at least has a fixting chance to do  
this in a reasonable amount of time. [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00341.html Reply to list

couple mins of Interface Builder mockup (mac-up?):  
 PNG image 
 PNG image 
 So D2JC is certainly _passable_, but it's far from being a proper mac  
app (those default old style boxes are the dead giveaway for java  
apps, though there's a Swing client property to switch box styles,  
IIRC). [...]
]]>
What is the proper place for frontbasejdbc.jar - JDBC driver to Frontbase on Mac OS X Leopard http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00340.html Reply to list
Dear All, 
I have been following Pascal's podcasts about installation of toolset  
and basic modeling. (Mac OS X 10.5.8 Leopard, WO 5.4.3, Eclipse 3.4.2,  
Wonder-latest-Frameworks-54) 
Pascal's podcasts are absolutely great, I have one remark: 
1. you don't say that you also have to (and show how) to install  
WOnder (finding it where and how was quite easy thanks to: 
http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Overview 
http://wiki.objectstyle.org/confluence/display/WONDER/Easy+Binary+Download+and+Install 

 Since I want to use Frontbase, and have it already installed and  
running, I have also grabbed JDBC driver installation from  
frontbase.com, it installed, I finished Pascal's podcasts and  
everything was great. I didn't have to setup any additional path in  
Eclipse. Somehow eclipse found out the driver "automagically". 

However, later reading webobjects-dev mailing list I think Chuck  
mentioned for some other thing "not to be in evil /Library/Java/ 
Extenstions folder". 

I have checked if I have that folder and Frontbase JDBC installation  
created it that day and only frontbasejdbc.jar is there. 

 Now question:
1. is that ok to have that JDBC driver jar there or:
2. what would be the proper place to put it?  
 Thank you very much in advance
and really sorry for perhaps stupid beginners question.  
 Sincerely yours
Bojan
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00339.html Reply to list
Someone would like to receive some great Gianduiotti from Italy ? :-D  http://en.wikipedia.org/wiki/Gianduiotto       Regards  Amed       
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00338.html Reply to list

Am 06.11.2009 um 14:50 schrieb David Avendasora:

[...]

I didn't. I was referring to not generating HTML but rather some XML/ 
JSON whatever definition of what things will be like. But again, all  
this is totally moot until some working code and docs are released. [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00337.html Reply to list
"works" is such a loaded term these days...  
 Cheers, Anjo  

 Am 06.11.2009 um 13:41 schrieb David Avendasora:

[...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00336.html Reply to list

[...]

Pfft. A toy. ;-)  
I actually really think Gianduia is a great thing and I'm eagerly  
anticipating tools to leverage it as much as anyone, but if what you  
need is a client-server app and there isn't a mobile requirement, then  
you should at least look at JC and D2JC. [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00335.html Reply to list

So if we're stirring the pot here ... For me, it's not being cool in  
the browser, it's about Java apps looking terrible. You can  
immediately tell when you're using a Java app ... Things are just  
never quite right, but they try to sell themselves as being native. [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00334.html Reply to list

But it doesn't run on my iPhone.  
 On 06/11/2009, at 10:41 PM, David Avendasora wrote:  
 Hey! Did I hear "JavaClient"?! :-D  
Yeah, it will be cool if someday we get the tools to do something  
client-server like JavaClient. 

Oh wait! We already _have_ WebObjects-based JavaClient, and Direct-  [...]
]]>
Re: ERXEOControlUtilities.clearSnapshotForRelationshipNamed(..) weirdness ! http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00333.html Reply to list

I feel like I am treading dangerous ground here adding to Chuck's  
advice ;-) ,  but you probably want to take fetchtimstamp lag into  
account, especially if you are not synchronizing OSC's within or  
across instances. 

 routingMediaItem 
.editingtContext().setFetchTimestamp(System. [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00332.html Reply to list

Hey! Did I hear "JavaClient"?! :-D  
Yeah, it will be cool if someday we get the tools to do something  
client-server like JavaClient. 

Oh wait! We already _have_ WebObjects-based JavaClient, and Direct-To- 
JavaClient and it works today and has for _years_. [...]
]]>
Re: Gianduia and WO http://lists.apple.com/archives/webobjects-dev/2009/Nov/msg00331.html Reply to list
Not really sure... basically you'd need something totally new, as this  
would be more like JavaClient and not like a web app. But all this is  
*moot* until we don't have it. 

 Cheers, Anjo  

 Am 06.11.2009 um 13:05 schrieb Mike Schrag:  
Yeah .. I suspect there could be a GianduiaLook, and that would make  
a lot of sesnse. 

 ms  
I think we've seen with the SproutCore stuff that it's not. Apart  
from *maybe* a JS D2W. 

 Cheers, Anjo  
 Am 06.11.2009 um 02:54 schrieb Mike Schrag:

[...]
]]>