Re: [Fed-Talk] anyone using WebObjects for Web Services or SOA?
Re: [Fed-Talk] anyone using WebObjects for Web Services or SOA?
- Subject: Re: [Fed-Talk] anyone using WebObjects for Web Services or SOA?
- From: Paul Suh <email@hidden>
- Date: Mon, 24 Jul 2006 08:04:35 -0400
On Jul 22, 2006, at 3:02 PM, Tony Ingraldi <email@hidden>
wrote:
On the WO end of things, I would recommend doing as much as possible
with standard-ish Java tools (i.e. use log4j/commons-logging instead
of NSLog; use the Java Collections interfaces where possible instead
of NSDictionary, NSArray, etc.) This is more for the purpose of
having a larger pool of potential software developers to draw from as
opposed to making the code "better." The less WO-specific stuff
there is to learn to come up to speed on your software, the better.
A couple of points here --
1) NSLog has built-in support for log4j -- see the class
NSLog.Log4JLogger. There isn't any conflict between the two systems.
2) Using straight Java Collections can significantly slow down your
app. The NSArray, NSDictionary, and NSSet classes have mutable and
immutable versions; By using the immutable versions internally,
WebObjects is able to achieve significant speed gains.
For deployment, you may want to avoid WO's application server and go
with standard J2EE packaging. This may make your applications more
readily embraced/supported in non-WO environments. I haven't
personally deployed WO apps in J2EE environments, so I can't speak to
how much pain is lost/gained by doing so.
The pain from deploying a WO app in a J2EE container is two-fold:
1) You need to make sure your app is fully multi-threaded. J2EE
deployment assumes a single instance that handles all incoming
requests, so your app needs to be able to handle simultaneous
requests properly.
2) Writing the *&^*&^!!! xml deployment descriptor. I have always
found this to be a PITA.
P.S. In spite of my statements above regarding doing things in a
"standard" manner, I have seen nothing that surpasses WO in terms of
productivity and pure enjoyment in development. Glad to see it being
used for what sounds like a significant application!
Definitely true. In my experience, I can crank out an app using
WebObjects in around 40%-60% less time than with other environments.
I did a just-for-fun app last weekend -- I wanted to give folks on
the Apple Consultants' Network a chance to rate each others' web
sites. So I threw this together.
http://ps-enable.com/cgi-bin/WebObjects/WebsiteRatings
It took about 14 hours of development plus 4 hours of deployment time
-- 2.5 hours of which was typing in 150 or so company names and
website URLs into the database.
--Paul
Paul Suh
http://www.ps-enable.com/
email@hidden (240) 672-4212
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Fed-talk mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden