Re: WebObjects vs J2EE?
Hi Ian, This may or may not be helpful but I have started looking into porting an existing WO 5.2.3 app to Java EE 5. I havn't done any formal comparisons or analysis but here are some things that struck me early on: EJB 3.0 Gone are the days or XML descriptors and three classes to just map one database table. POJO's + annotations make doing the ORM stuff really easy even without a modelling tool. Some things I liked were Java 5 enum mapping - in my WO apps I just custom classes for enum properties on EO's. It works ok but being able to model them directly is nicer. As the persistence engine can vary from app server to app server for EJB 3.0 you can still end up using propriatory extensions and also they can work differently with different DBs. I have some problems getting hibernate to work well with Frontbase. Also data validation via annotation is quite useful - a hibernate extension that can be used with other persistence managers. Generally though I like EJB 3 and it certainly does make that whole process easier. With dependency injection you can just annotate the data manager (like the EOEnterpriseContext) and the container will give it to you ready to go. Although I'm sure there are things you can do in ec's that you can't do in EJB 3. One thing is that all the configuration is done with annotations. I guess it's too early to tell if this will be better or worse in the long run than XML descriptors. Other things like message driven beans are useful for asynchronous processing and I found they made some things I was doing in WO for background processing easier. JSF The whole JSF thing is a bit odd. I think the tech is ok and does the job, what's odd are all the different implementations. I think it would be easy to end up in a situation where you want some components from one JSF implementation and other ones from a different implementation, which could get a bit annoying. Also the html output from JSF is not necessarily the best. I mention JSF here because I didn't want to use servlets directly or jsp. one of the issues with Java EE is that there are quite a few different toolkits for rendering the presentation layer. I think it all depends on what you are trying to do. I quite liked the EJB + JSF integration that JBoss Seam provides and I think it has some nice ideas but can take a little getting use to. Web Services Why oh why does Java make web services so complicated? A major fustration here is that Java EE 5 does make web services development easier but you need to be running in a fully Java EE 5 complient app server... now this start to get more interesting when you want to use a framework like Seam that works *best* on JBoss. I had a lot of isses getting a simple web service to work straight away on JBoss 4.0.5 and 5 beta 1. Glassfish it was really easy to do though. On the other hand doing with Ruby on Rails took about 10 mins of reading and 5 mins of coding. One of the key reasons I started looking at Java EE again was I was going to have to do more web service work and WO just doesn't seam to be developing much in that area. Summary Being able to use Java 5 and I guess now Java 6. WO had a big head start on the rest of the Java server market and indeed the whole web development market but as development has slowed over the years other applications servers and frameworks have start to catch up. I think Java EE 5 is definitely work looking into. It's not as slow and eye pokingly painful to develop with as it used to be. On the performance side of things perhaps just being able to deploy with Java 6 might be a significant enough boost. There are some interesting reports of Java 6 vs Java 5 for speed etc. Any way hope some of this helps. Cheers, John On 1/9/07, Ian Joyner <[EMAIL PROTECTED]> wrote: I have searched around but can't find any papers on direct comparisons of WebObjects vs J2EE. Does anyone know of sources that address such questions as: Comparison of features Ease of development/deployment and the biggy: PERFORMANCE Also does anyone have any feelings about performance of WO 4.5.1 (Objective-C) vs 5.3.1 (Java)? Did 5.x increase the performance in any big way? Thanks Ian ___ 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/wolists%40gmail.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 archive@mail-archive.com
Re: EOSortOrdering based on a @count relationship
Hi there, On 09/01/2007, at 10:51 AM, Dev WO wrote: I've been trying to isolate the issue with this, but I just can't even get an error... try setting this property in your Properties file: WODisplayExceptionPages=true Despite its name this will cause exceptions to be caught and passed back to Application.application().handleException(...) put in some debugging either there or use a try/catch in dispatchRequest... 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 archive@mail-archive.com
[OT] Programmer wanted: Sydney, Australia
Hi all (on behalf of my boss Ari), --> sorry for the off-topic post, but it might be relevant to some developers on this list in Australia looking for work here in Sydney. ish is looking for an experienced Java programmer to add to our team. Please see the following url for more information on the position and how to apply. http://www.ish.com.au/node/190 In anticipation of offers from overseas, please note that we are specifically looking for a full-time Sydney based employee. Cheers Ari Maniatis --> ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 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 archive@mail-archive.com
Re: EOSortOrdering based on a @count relationship
Please don't post your messages to both WO-Dev and Omni list. All people end up with is duplicate messages, since most people receive both groups. On 09/01/2007, at 10:51 AM, Dev WO wrote: Hi, I've been trying to isolate the issue with this, but I just can't even get an error... So I need to sort based on a calculated attribute: relationship ().count() but I just can't make it work... I've got entity "a" which has a toMany relationship "relationship()". I need to sort "a" entities based on relationship().count(). So here's my SortOrder: public Number numberOfComments() { return (Number)writeCommentaries().count(); } public NSArray sortOrderingByCommentaries() { NSMutableArray sortOrdering = new NSMutableArray(); EOSortOrdering newSO = EOSortOrdering.sortOrderingWithKey ("numberOfComments", EOSortOrdering.CompareDescending); sortOrdering.addObject(newSO); return (NSArray)sortOrdering; } and the actual sorted array: public NSArray listOfNewsSortedByCommentaries() { return (NSArray)EOSortOrdering.sortedArrayUsingKeyOrderArray (listOfNews(), new NSArray(sortOrderingByCommentaries())); } but it won't work, I don't even get a crash, just a "no instance available"... I tried with another Number attribute to see if it coud be the cause, but it works. I also sort using another attribute and display the relationship().count() for each "a" and it works. It seems I just can't sort using the relationship().count(). But I though I could use custom attribute as long as the array is already in an editing context. I must miss something, but I can't find it... Thanks for your help Xavier ___ WebObjects-dev mailing list [EMAIL PROTECTED] http://www.omnigroup.com/mailman/listinfo/webobjects-dev ___ 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 archive@mail-archive.com
EOSortOrdering based on a @count relationship
Hi, I've been trying to isolate the issue with this, but I just can't even get an error... So I need to sort based on a calculated attribute: relationship ().count() but I just can't make it work... I've got entity "a" which has a toMany relationship "relationship()". I need to sort "a" entities based on relationship().count(). So here's my SortOrder: public Number numberOfComments() { return (Number)writeCommentaries().count(); } public NSArray sortOrderingByCommentaries() { NSMutableArray sortOrdering = new NSMutableArray(); EOSortOrdering newSO = EOSortOrdering.sortOrderingWithKey ("numberOfComments", EOSortOrdering.CompareDescending); sortOrdering.addObject(newSO); return (NSArray)sortOrdering; } and the actual sorted array: public NSArray listOfNewsSortedByCommentaries() { return (NSArray)EOSortOrdering.sortedArrayUsingKeyOrderArray (listOfNews(), new NSArray(sortOrderingByCommentaries())); } but it won't work, I don't even get a crash, just a "no instance available"... I tried with another Number attribute to see if it coud be the cause, but it works. I also sort using another attribute and display the relationship().count() for each "a" and it works. It seems I just can't sort using the relationship().count(). But I though I could use custom attribute as long as the array is already in an editing context. I must miss something, but I can't find it... Thanks for your help Xavier ___ 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 archive@mail-archive.com
WebObjects vs J2EE?
I have searched around but can't find any papers on direct comparisons of WebObjects vs J2EE. Does anyone know of sources that address such questions as: Comparison of features Ease of development/deployment and the biggy: PERFORMANCE Also does anyone have any feelings about performance of WO 4.5.1 (Objective-C) vs 5.3.1 (Java)? Did 5.x increase the performance in any big way? Thanks Ian ___ 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 archive@mail-archive.com
Wonder AjaxAutoComplete submits form
Hi Group, I tried to use the AjaxAutoComplete component from Project Wonder 3.0. I modified the example and it seemed to work very good in my environment. But when I use the Component inside a WOForm I have the problem that pressing the enter key to complete the Autocompletion triggers a form submission and creates an HTML list output of the AjaxAutoComplete list. So far so good I thought and I added an action binding to the WOForm component which I didn't use before, because I used action bindings for the submission elements in the form (2 submit buttons and 4 image buttons). Regarding to the WO documentation (Dynamic Elements Documentation) the action binding of a WOForm will not be used when a submit component like a submit button or image button is triggered and this component has an action binding too... But - now my form always uses the action binding of the WOForm, even if I trigger the submission with one of the sumit buttons or image buttons. Does someone has experience with this behaviour? I am somehow confused. Best regards, Helmut ___ 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 archive@mail-archive.com
Re: a may be off-topic question - user registration
I use this http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html Aloha Jon ___ 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 archive@mail-archive.com
RE: Namespace in WebService
In my WSDL on the server the Namespace starts out: targetNamespace="http://default/Apps/WebObjects/..."; Nowhere does it have the actual server address (which is an IP address) so I suspect this hoses any consumer. I'm not sure if it is the same issue, but I just shifted some documentation of mine to the wiki in case it is of interest... http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Services/ Controlling_WSDL_Service_Location cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ 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 archive@mail-archive.com
Re: Best way to generate unique IDs that are not PKs
Hi Sacha and Shaun, No, I can't drop the requirement, so I have to find a way to work. So, it seems that the only better way to do it is through the DB directly. Thanks for the input, Florijan ___ 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 archive@mail-archive.com
MEETING: Chicago CocoaHeads / CAWUG, Tues. Jan 9th @ 6:00
Hi All, Just a quick reminder, the Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group (CAWUG) is holding our first meeting of the new year meeting tomorrow Tuesday, January 9th, at 6:00 PM at the Apple Store on Michigan Ave. Agenda: - Introductions & Announcements - Augie Fackler on Perian http://perian.org/ - Jon Rentzsch on NSXReturnThrowError - Random chat about any interesting MW announcements - Q & A - adjournment to O'Toole's When: Tuesday, January 9th, 6:00 PM Where: Apple Store Michigan Avenue 679 North Michigan Ave. (at the corner of Huron & Michigan Ave.) Chicago, IL 60611 http://maps.yahoo.com/maps_result? ed=gYbE5Op_0Tokf_p7h61dwjbWtjC2r1YehzWw&csz=60611 - Augie Fackler one of the leads of the Perian Project (http:// perian.org/) will demo Perian and discuss some of the development challenges they've overcome -- specifically creating universal static libraries. Perian is a free, open source QuickTime® component that adds native support for many popular video formats - Jon Rentzsch will be talking about NSXReturnThrowError which is a new set of nonviral ObjC macros that automate wrapping error codes from Carbon, Posix and mach/IOKit into NSError objects and/or NSExceptions. Wolf will demonstrate how to use them and how they work internally. - Q&A - O'Tooles We will continue the discussion at our local watering hold Timothy O'Toole's at 622 Fairbanks (2 blocks east of the store). We also wish to thank the folks who run the theater space at the Apple store for letting us have our meetings there, and Jonathan 'Wolf' Rentzsch for hosting the new and revived CAWUG web site and taking over hosting our listserve. Thanks all. Also, if you are working on a project and would like to talk about it briefly / promote it, I think it would be fun for people to hear about other people's projects. Please email me off line and you can talk at a future meeting or would like a book to review. Future meetings dates: 2/13/07 & 3/13/07 CAWUG Resources Web Site: http://www.cawug.org/ RSS feed: http://www.cawug.org/rss.xml Mail list: http://redshed.net/mailman/listinfo/cawug-announce iCal: http://ical.mac.com/chicagobob/ Chicago-CocoaHeads-CAWUG (view on the web) iCal: webcal://ical.mac.com/chicagobob/Chicago-CocoaHeads-CAWUG.ics (subscribe to in iCal) Cocoa Heads web site: http://cocoaheads.org/us/ChicagoIllinois/index.html Hope to see you at the meeting. -Bob ___ 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 archive@mail-archive.com
Re: a may be off-topic question - user registration
You can try this as well. http://www.unece.org/cefact/locode/service/sublocat.htm. Hope this is helpful. Thx, Ashwin On Jan 8, 2007, at 9:32 AM, Ashwin Prabhu wrote: For countries you can find them at : http://www.cfsan.fda.gov/~lrd/ iso3166.txt thx, Ashwin On Jan 8, 2007, at 9:10 AM, Amedeo Mantica wrote: I'm doing a wordwide user registration from my customer site where I can find a full worldwide list of city / countries / states ?? regards Amedeo ___ 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/aprabhu% 40apple.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/aprabhu% 40apple.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 archive@mail-archive.com
Re: a may be off-topic question - user registration
This looks like it could be what you're looking for: http://www.dbis.informatik.uni-goettingen.de/Mondial/ You may have to update it (looks to be from 1998) but there are city/ province tables as well as country tables. David -- It's like driving a car at night. You never see further than your headlights, but you can make the whole trip that way. E. L. Doctorow from Sunbeams: http://www.thesunmagazine.org On 8 Jan 2007, at 9:10 AM, Amedeo Mantica wrote: I'm doing a wordwide user registration from my customer site where I can find a full worldwide list of city / countries / states ?? regards Amedeo ___ 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/programmingosx %40mac.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 archive@mail-archive.com
Re: a may be off-topic question - user registration
For countries you can find them at : http://www.cfsan.fda.gov/~lrd/ iso3166.txt thx, Ashwin On Jan 8, 2007, at 9:10 AM, Amedeo Mantica wrote: I'm doing a wordwide user registration from my customer site where I can find a full worldwide list of city / countries / states ?? regards Amedeo ___ 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/aprabhu% 40apple.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 archive@mail-archive.com
Re: a may be off-topic question - user registration
Here's the countries with their ISO country and currency codes... Afganistan Aland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antartica Antigia and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Banglagesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia and HerzegovinaCountry> Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Burandi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African RepublicCountry> Chad Chile China Christmas Island Cocos (Keeling) IslandsCountry> Colombia Comoros Congo Congo, The Democratic Republic of Cook Islands Costa Rica Cote D'Ivorie Croatia Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethopia Falkland Islands(Malvinas) Faroe Islands Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and Mcdonald Islands Holy See (Vatican City State) Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Isle Of Man Israel Italy Jamica Japan Jersey Jordan Kazakhstan Kenya Kiribati Korea, North Korea, South Kuwait Kyrgustan Laos Latvia Lebanon Lesotho Liberia Libya Arad JamahiriyaCountry> Liechtenstein Lithuania Luxembourg Macao Macedonia Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mautiania Mauritius Matotte Mexico Micronesia Moldova, Republic ofCountry> Monaco Mongolia Montserrat Morocco Mozambique Myanmar Nambia Nauru Nepal Netherlands Netherlands AntillesCountry> New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island Northern Mariana IslandsCountry> Norway Oman Pakistan Palau Palestinian Territory, Occupied Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Reunion Romania Russian Federation Rwanda Saint Helena Saint Kitts and NevisCountry> Saint Lucia Saint Pierre and MiquelonCountry> Saint Vincent and the Grenadines Samoa San Marino Sao Tome and PrincipeCountry> Saudi Arabia Senegal Serbia and Montenegro Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands Spain Sri Lanka Sudan Suriname Svalbard and Jan MayenCountry> Swaziland Sweden Switzerland Syrian Arab RepublicCountry> Taiwan Tajikstan Tanzania Thailand Timor-Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos IslandsCountry> Tuvalu Uganda Ukraine United Arab EmiratesCountry> United Kingdom United States United States, Minor Outling Islands Uruguay Uzbekistan Vanuatu Venezuela Vietnam Virgin Islands, BritishCountry> Virgin Islands, U.S.Country> Wallis and Futuna Western Sahara Yemen Zambia Zimbabwe On 8 Jan 2007, at 17:10, Amedeo Mantica wrote: I'm doing a wor
a may be off-topic question - user registration
I'm doing a wordwide user registration from my customer site where I can find a full worldwide list of city / countries / states ?? regards Amedeo ___ 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 archive@mail-archive.com
Openbase released 10.0.4
this version FIX the a bug that prevented syncronization of EOModel schema. Amedeo ___ 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 archive@mail-archive.com
Re: EOModel Schema synchronisation
Hi, It is also possible to generate sql from EOModeler to one database and use another clone-database for WO application. In this case you can synchronize changes using third party tools like Navicat. on 1/5/07 12:34 PM, Philippe Lafoucrière at [EMAIL PROTECTED] wrote: > Hello, > > I was wondering if so ever tried the synchronize an eomodel in > openbase using the openisql command "synchronize". I googled for it > and didn't find any clue on how it works. > > To sum up, my choices to sync : > > - Use eomodeler sync utility (seems to be broken sometime, depending > on JDBC adaptator) --> too risky > - use openbase synchronize command --> never tried, and no info > available, even in openbase doc > - Generate SQL with Entity modeler or EOModeler, and change it by > hand --> risky too, but the only reasonable solution > - Change directly the schema using the database tools, and hope it > will fit the new changed eomodel :) > > Maybe this should appear (in a cleaner version) in the wikibook ? --- Denis Frolov Design Maximum MA Tel: +7 863 2648211 Fax: +7 863 2645229 Web: http://www.designmaximum.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 archive@mail-archive.com