Re: True war deployment and WebServerResources

2009-08-04 Thread Alexis Tual

Hello Andrew,

Le 3 août 09 à 23:41, Andrew Lindesay a écrit :


Hello Alexis;

(3.aug.2009)
Andrew Lindesay faces the same issue with his message War /  
Maven / Jar Build – How Does it Work wi th Eclipse's Build  
Automatically?


I have lodged an issue with Apple about this and they are aware of  
it.  The problem is that there are two ways for a servlet's  
classpath/bundle to work and this is controlled by the WOJarBundle  
context-param in the deployment descriptor.  If this is NO then  
WebObjects falls back to old-school class paths and expects  
WebObjects to be installed in places such as /System/Library/ 
Framework etc... probably not workable.  If this is YES then  
WebObjects expects that the main bundle which contains your  
application and resources is in a jar file within the servlet.  All  
well and good, but Eclipse can't incrementally create a jar file so  
this doesn't work.  I hope Apple can do something about resolving  
this issue.


Attached is a PDF illustrating the issue.


Thanks for logging this issue, while waiting for this issue to be  
solved (let's be optimistic), i think we could use a workaround :


In eclipse, you can add a custom builder : projet  properties   
builders  New
the builder would be a simple ant task that jars the classes directory  
and put them somewhere in the classpath ahead of the classes directory  
(is this even possible ?)... I've not tested this, it's just a thought.


Cheers,

Alexis ___
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


Re: Many to many relationship... some problem

2009-08-04 Thread Amedeo Mantica


On 03/ago/09, at 19:45, Francesco Romano wrote:


Ok.. I'll postpone this,,

Now.. for the model I was thinking at this:

Order - LineItem(has quantity as attribute)  - Product
This should solve the to-many problem..

To save the cart... I thought to:
Customer - LineItem
Or:
Customer - Cart - LineItem
(Cart entity is useless, but I can add a LastUpdated date ...)

What do you think?



as a first rapid look seem to be ok
Ciao
Amedeo


On 03/ago/09, at 19:02, Amedeo Mantica wrote:


you can do it via webobjects but is a bit hard

is more easy to do a call to a directaction using curl sheduled  
via launchd or cron


Regards
Amedeo

On 03/ago/09, at 18:51, Francesco Romano wrote:


On 03/ago/09, at 18:49, Amedeo Mantica wrote:



On 03/ago/09, at 18:40, Francesco Romano wrote:



On 03/ago/09, at 18:29, Amedeo Mantica wrote:


why do you want to put the quantity in that table ???

leave the relationship alone

create a table  cart  with a relationship to product and a  
column quantity.


then create a relationship cart to order

Regards
Amedeo



Because I was thinking to save the cart in the cookies.. Should  
I save the cart of every customer even if they don't place an  
order? (this is a question.. I don't know how things work..)


yes, so you can give customers choice to save cart and finish  
order later, if the order is not finished within some days you  
trash the cart


Amedeo


Yeah.. I have to change the model a bit :p
Btw.. how can I trash the cart automatically? Is it possible with  
WO?




Francesco

On 03/ago/09, at 18:16, Francesco Romano wrote:


On 03/ago/09, at 18:04, Lachlan Deck wrote:


On 04/08/2009, at 1:39 AM, Francesco Romano wrote:


On 03/ago/09, at 16:10, Lachlan Deck wrote:


On 03/08/2009, at 7:21 PM, Francesco Romano wrote:


Hi..
I'm having some problem with a many-to-many relationship.
I've two entities: Order and Product.
They have a many-to-many relationship, and an attribute:  
quantity.
The strange thing is that I don't see the OrderProduct  
model generated...


Check the value of Class Name in the model. It's probably  
EOGenericRecord. Change it to you.model.OrderProduct


You are right.. Now I see the class



Well.. to be honest I don't understand how many-to-many  
works... (In WO.. I know the DB-theory)...


OrderProduct orderProduct =  
(OrderProduct)EOUtilities.createAndInsertInstance(ec,  
OrderProduct.ENTITY_NAME);

// or
OrderProduct orderProduct =  
OrderProduct.createOrderProduct(ec, product, order);

orderProduct.setQuantity(quantity);

ec.saveChanges();


Little problem.. the only method createOrderProduct has as  
arguments: editingContext, quantity.


1) Your OrderProduct should (usually) have a compound primary  
key. (orderID, productID). Both keys shouldn't allow null.  
Both relationships (order, product) should be manditory. Then  
regenerate your class.


I attach an image..  it's the OrderProduct entity.
Picture 1.png



So.. I can't set it's pks.


2) This is good. :-) You're dealing with objects now, not  
database artifacts like pks and foreign keys. You'll be  
setting object relationships not pk/fk relationships.


Simply fetch the product/order _objects_ and
orderProduct.setOrder(order);
orderProduct.setProduct(product);



With pks I meant that I don't have the setProduct and setOrder  
method (and in the constructor).



with regards,
--

Lachlan Deck



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects- 
d...@lists.apple.com)

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it









___
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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it





___
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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it



___
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


Re: Many to many relationship... some problem

2009-08-04 Thread Francesco Romano

And.. if I change to this ?

Product - LineItem - Cart

And Cart is linked to:
Cart - Customer
Cart - Order

The customer and order foreign keys are both optional and both inside  
the Cart Entity.
So.. if a user want to save a cart (and not place an order) I link the  
cart directly to a customer.
If the user want to place the order, the cart is linked to the order  
and unlinked from the customer (this because Order - Customer)



What do you think? Can this be correct?

Francesco

On 04/ago/09, at 11:32, Amedeo Mantica wrote:



On 03/ago/09, at 19:45, Francesco Romano wrote:


Ok.. I'll postpone this,,

Now.. for the model I was thinking at this:

Order - LineItem(has quantity as attribute)  - Product
This should solve the to-many problem..

To save the cart... I thought to:
Customer - LineItem
Or:
Customer - Cart - LineItem
(Cart entity is useless, but I can add a LastUpdated date ...)

What do you think?



as a first rapid look seem to be ok
Ciao
Amedeo


On 03/ago/09, at 19:02, Amedeo Mantica wrote:


you can do it via webobjects but is a bit hard

is more easy to do a call to a directaction using curl sheduled  
via launchd or cron


Regards
Amedeo

On 03/ago/09, at 18:51, Francesco Romano wrote:


On 03/ago/09, at 18:49, Amedeo Mantica wrote:



On 03/ago/09, at 18:40, Francesco Romano wrote:



On 03/ago/09, at 18:29, Amedeo Mantica wrote:


why do you want to put the quantity in that table ???

leave the relationship alone

create a table  cart  with a relationship to product and a  
column quantity.


then create a relationship cart to order

Regards
Amedeo



Because I was thinking to save the cart in the cookies.. Should  
I save the cart of every customer even if they don't place an  
order? (this is a question.. I don't know how things work..)


yes, so you can give customers choice to save cart and finish  
order later, if the order is not finished within some days you  
trash the cart


Amedeo


Yeah.. I have to change the model a bit :p
Btw.. how can I trash the cart automatically? Is it possible with  
WO?




Francesco

On 03/ago/09, at 18:16, Francesco Romano wrote:


On 03/ago/09, at 18:04, Lachlan Deck wrote:


On 04/08/2009, at 1:39 AM, Francesco Romano wrote:


On 03/ago/09, at 16:10, Lachlan Deck wrote:


On 03/08/2009, at 7:21 PM, Francesco Romano wrote:


Hi..
I'm having some problem with a many-to-many relationship.
I've two entities: Order and Product.
They have a many-to-many relationship, and an attribute:  
quantity.
The strange thing is that I don't see the OrderProduct  
model generated...


Check the value of Class Name in the model. It's probably  
EOGenericRecord. Change it to you.model.OrderProduct


You are right.. Now I see the class



Well.. to be honest I don't understand how many-to-many  
works... (In WO.. I know the DB-theory)...


OrderProduct orderProduct =  
(OrderProduct)EOUtilities.createAndInsertInstance(ec,  
OrderProduct.ENTITY_NAME);

// or
OrderProduct orderProduct =  
OrderProduct.createOrderProduct(ec, product, order);

orderProduct.setQuantity(quantity);

ec.saveChanges();


Little problem.. the only method createOrderProduct has as  
arguments: editingContext, quantity.


1) Your OrderProduct should (usually) have a compound  
primary key. (orderID, productID). Both keys shouldn't allow  
null. Both relationships (order, product) should be  
manditory. Then regenerate your class.


I attach an image..  it's the OrderProduct entity.
Picture 1.png



So.. I can't set it's pks.


2) This is good. :-) You're dealing with objects now, not  
database artifacts like pks and foreign keys. You'll be  
setting object relationships not pk/fk relationships.


Simply fetch the product/order _objects_ and
orderProduct.setOrder(order);
orderProduct.setProduct(product);



With pks I meant that I don't have the setProduct and  
setOrder method (and in the constructor).



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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it









___
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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it





___
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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it






Re: Many to many relationship... some problem

2009-08-04 Thread Amedeo Mantica

On 04/ago/09, at 15:16, Francesco Romano wrote:


And.. if I change to this ?

Product - LineItem - Cart

And Cart is linked to:
Cart - Customer
Cart - Order

The customer and order foreign keys are both optional and both  
inside the Cart Entity.
So.. if a user want to save a cart (and not place an order) I link  
the cart directly to a customer.
If the user want to place the order, the cart is linked to the order  
and unlinked from the customer (this because Order - Customer)



What do you think? Can this be correct?

Francesco

On 04/ago/09, at 11:32, Amedeo Mantica wrote:




need some time to check, I'll reply tomorrow




On 03/ago/09, at 19:45, Francesco Romano wrote:


Ok.. I'll postpone this,,

Now.. for the model I was thinking at this:

Order - LineItem(has quantity as attribute)  - Product
This should solve the to-many problem..

To save the cart... I thought to:
Customer - LineItem
Or:
Customer - Cart - LineItem
(Cart entity is useless, but I can add a LastUpdated date ...)

What do you think?



as a first rapid look seem to be ok
Ciao
Amedeo


On 03/ago/09, at 19:02, Amedeo Mantica wrote:


you can do it via webobjects but is a bit hard

is more easy to do a call to a directaction using curl sheduled  
via launchd or cron


Regards
Amedeo

On 03/ago/09, at 18:51, Francesco Romano wrote:


On 03/ago/09, at 18:49, Amedeo Mantica wrote:



On 03/ago/09, at 18:40, Francesco Romano wrote:



On 03/ago/09, at 18:29, Amedeo Mantica wrote:


why do you want to put the quantity in that table ???

leave the relationship alone

create a table  cart  with a relationship to product and a  
column quantity.


then create a relationship cart to order

Regards
Amedeo



Because I was thinking to save the cart in the cookies..  
Should I save the cart of every customer even if they don't  
place an order? (this is a question.. I don't know how things  
work..)


yes, so you can give customers choice to save cart and finish  
order later, if the order is not finished within some days you  
trash the cart


Amedeo


Yeah.. I have to change the model a bit :p
Btw.. how can I trash the cart automatically? Is it possible  
with WO?




Francesco

On 03/ago/09, at 18:16, Francesco Romano wrote:


On 03/ago/09, at 18:04, Lachlan Deck wrote:


On 04/08/2009, at 1:39 AM, Francesco Romano wrote:


On 03/ago/09, at 16:10, Lachlan Deck wrote:


On 03/08/2009, at 7:21 PM, Francesco Romano wrote:


Hi..
I'm having some problem with a many-to-many relationship.
I've two entities: Order and Product.
They have a many-to-many relationship, and an attribute:  
quantity.
The strange thing is that I don't see the OrderProduct  
model generated...


Check the value of Class Name in the model. It's probably  
EOGenericRecord. Change it to you.model.OrderProduct


You are right.. Now I see the class



Well.. to be honest I don't understand how many-to-many  
works... (In WO.. I know the DB-theory)...


OrderProduct orderProduct =  
(OrderProduct)EOUtilities.createAndInsertInstance(ec,  
OrderProduct.ENTITY_NAME);

// or
OrderProduct orderProduct =  
OrderProduct.createOrderProduct(ec, product, order);

orderProduct.setQuantity(quantity);

ec.saveChanges();


Little problem.. the only method createOrderProduct has as  
arguments: editingContext, quantity.


1) Your OrderProduct should (usually) have a compound  
primary key. (orderID, productID). Both keys shouldn't  
allow null. Both relationships (order, product) should be  
manditory. Then regenerate your class.


I attach an image..  it's the OrderProduct entity.
Picture 1.png



So.. I can't set it's pks.


2) This is good. :-) You're dealing with objects now, not  
database artifacts like pks and foreign keys. You'll be  
setting object relationships not pk/fk relationships.


Simply fetch the product/order _objects_ and
orderProduct.setOrder(order);
orderProduct.setProduct(product);



With pks I meant that I don't have the setProduct and  
setOrder method (and in the constructor).



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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it









___
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/amedeomailing%40insigno.it

This email sent to amedeomail...@insigno.it





___
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:

SmartClient AJAX RIA with WO

2009-08-04 Thread Darich Runyan
Have any of you used the SmartClient AJAX System with WO?  I am in a  
situation where I need to build a WO Web Service with an AJAX front  
end and this toolset seems to have a nice selection of widgets.


http://www.smartclient.com/

Thanks
___
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


Re: Deployment with Embedded Frameworks and Duplicate libraries

2009-08-04 Thread Mr. Frank Cobia


I have turned on direct connection to all the instances of the apps  
and there is one that does not respond.


Which is why you are getting that message, however misleading the  
text of the message may be.




I did indeed discover that the problem was in the app. When one  
instance of my app hangs, JavaMonitor says that wotaskd is hung and  
all kinds of bad things happen. Either the apache adaptor does not  
redirect to a functioning instance or if it does, it does so after a  
long pause.


Is there some reason that JavaMonitor/wotaskd/Apache Adptor can not  
deal correctly with a hung instance? Is there anything I can do to  
make it behave better?


Also, I have to turn direct connect off to be able to do the refuse  
new sessions, so is there another way to figure out which app is hung  
so that it can be killed?




Get a thread dump:
http://www.gvcsitemaker.com/gvc.webobjects/faqmode=singlerecordID=41413


I did run jstack and it does appear that some threaded code in my app  
is deadlocked. I will attempt to fix that.


Frank
___
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


Re: Velocity generator template reference available

2009-08-04 Thread Ken Anderson
Is there a way to get access to the userInfo dictionary of an entity  
with Velocity?


On Jan 29, 2008, at 2:39 PM, John Huss wrote:

There is now a velocity generator template reference page on the  
wiki that shows all the bindings available for use in your velocity  
templates.   So if you've been wondering how to make better use of  
the velocity eogenerator, check it out.


John


 ___
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

Re: Deployment with Embedded Frameworks and Duplicate libraries

2009-08-04 Thread Chuck Hill


On Aug 4, 2009, at 9:32 AM, Mr. Frank Cobia wrote:



I have turned on direct connection to all the instances of the  
apps and there is one that does not respond.


Which is why you are getting that message, however misleading the  
text of the message may be.




I did indeed discover that the problem was in the app. When one  
instance of my app hangs, JavaMonitor says that wotaskd is hung and  
all kinds of bad things happen. Either the apache adaptor does not  
redirect to a functioning instance or if it does, it does so after a  
long pause.


How long?  The default is 15 seconds.  If you have multiple hung  
instances, it could redirect to one of them.



Is there some reason that JavaMonitor/wotaskd/Apache Adptor can not  
deal correctly with a hung instance? Is there anything I can do to  
make it behave better?


Define better.  It deals with it fairly well, given that it can only  
assume what some symptoms might  mean.



Also, I have to turn direct connect off to be able to do the refuse  
new sessions, so is there another way to figure out which app is  
hung so that it can be killed?


Look at the stack trace, like below.  Also look for growing numbers of  
worker threads.  If you have more than 16, you probably have a problem.



Chuck



Get a thread dump:

http://www.gvcsitemaker.com/gvc.webobjects/faqmode=singlerecordID=41413


I did run jstack and it does appear that some threaded code in my  
app is deadlocked. I will attempt to fix that.


Frank
___
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/chill%40global-village.net

This email sent to ch...@global-village.net



--
Chuck Hill Senior Consultant / VP Development

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/archive%40mail-archive.com

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


Re: Velocity generator template reference available

2009-08-04 Thread Chuck Hill

It should be just ${entity.userInfo.foo}


On Aug 4, 2009, at 9:49 AM, Ken Anderson wrote:

Is there a way to get access to the userInfo dictionary of an entity  
with Velocity?


On Jan 29, 2008, at 2:39 PM, John Huss wrote:

There is now a velocity generator template reference page on the  
wiki that shows all the bindings available for use in your velocity  
templates.   So if you've been wondering how to make better use of  
the velocity eogenerator, check it out.


John


___
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/chill%40global-village.net

This email sent to ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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/archive%40mail-archive.com

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


Re: [OT] Really quick WebObjects-Cocoa Touch crossover question

2009-08-04 Thread James Cicenia

That was a nice find (why this is one of the best lists... ever).

After doing a couple of iPhone apps, IB extensions are what is needed.  
Otherwise one almost needs a graphic designer to make the apps palette.
A mostly generic UI iPhone app doesn't have the sizzle that a nicely  
crafted custom designed interface has. The best bet is a nice blend of  
both.


- j-


On Aug 1, 2009, at 9:48 AM, David LeBer wrote:



On 1-Aug-09, at 10:41 AM, Mike Schrag wrote:

Yeah, definitely you can build reusable pieces -- you can look at http://github.com/joehewitt/three20/tree/master 
 as an example of a well-known one ... I would suggest that the  
only way to do it WELL at the UI-level (aside from things like  
cells, etc) is to also build the corresponding IB palettes, though.


ms


See Brandon Walkin's excellent BWToolkit http://www.brandonwalkin.com/bwtoolkit/ 





On Aug 1, 2009, at 9:55 AM, George Domurot wrote:

Cocoa is OO, and you can create reusable elements.  For example,  
you can easily create a reusable UITableViewCell that takes an  
object to create all the necessary display content you want in the  
cell.


The apps I've written are mostly coded outside of IB.  However, I  
would think you should still be able to blend the two.


-G

On Jul 31, 2009, at 10:34 PM, Janine Sisk wrote:

FWIW, regardless of how OT it is I would be interested in the  
answers as well.


I know of one person who has built an application template that  
he bases new apps on, but am not aware of anyone doing this with  
the UI.  I think the reliance on Interface Builder is partly to  
blame;  unless you code all your UI elements by hand to start  
with there is nothing to reuse.  Not easily, anyway.  But I'd be  
happy to be proven wrong.


janine

On Jul 31, 2009, at 8:44 PM, Paul Hoadley wrote:


Hello,

(I hope this isn't too far OT.  Feel free to flame.  :-))

Obviously a very common pattern in WO is finding common elements  
in one's UI and breaking those out into a re-usable component--- 
encapsulation and code re-use.  I've recently waded into some  
Cocoa Touch development, and one of the first things I tried to  
do with a UI I was create the equivalent of such a re-usable  
component.  It turned out to be harder than I thought---I won't  
go into the specifics, because it's even further off-topic for  
this list.  I just had a quick question for any WO people also  
working with Cocoa Touch: am I trying to do something that would  
be considered unusual on that platform?  I posted on Apple's  
iPhone developer forums, and got a couple of basically helpful  
answers, but, to be honest, they didn't smell quite right.  For  
example, someone wrote:


What you're trying to do is something that no one else is  
doing.  There is no 'usual way.' UI's on iPhone are generally  
much simpler than those on desktop apps so there's very little  
reason to have plugins or component UIs like you describe.


I find this hard to believe.  In any case, sorry for the off- 
topic post.  Feel free to limit answers to You're crazy or Of  
course you can make re-usable UI components, or even reply off- 
list.



--
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


___
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/janine%40furfly.net

This email sent to jan...@furfly.net


---
Janine Sisk
President/CEO of furfly, LLC
503-693-6407


;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




___
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/james%40jimijon.com

This email sent to ja...@jimijon.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


Re: Deployment with Embedded Frameworks and Duplicate libraries

2009-08-04 Thread Mr. Frank Cobia
I did indeed discover that the problem was in the app. When one  
instance of my app hangs, JavaMonitor says that wotaskd is hung and  
all kinds of bad things happen. Either the apache adaptor does not  
redirect to a functioning instance or if it does, it does so after  
a long pause.


How long?  The default is 15 seconds.  If you have multiple hung  
instances, it could redirect to one of them.


The problem is that it never times out. Any user trying to go to that  
instance just hangs forever.





Is there some reason that JavaMonitor/wotaskd/Apache Adptor can not  
deal correctly with a hung instance? Is there anything I can do to  
make it behave better?


Define better.  It deals with it fairly well, given that it can only  
assume what some symptoms might  mean.




See above. It is workable for 15 seconds, but it seems to hang forever.



Also, I have to turn direct connect off to be able to do the refuse  
new sessions, so is there another way to figure out which app is  
hung so that it can be killed?


Look at the stack trace, like below.  Also look for growing numbers  
of worker threads.  If you have more than 16, you probably have a  
problem.


I will look into that.

Thanks,
Frank
___
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


Re: Ant build in WO 5.4 not working (Windows)

2009-08-04 Thread Chuck Hill


On Jul 31, 2009, at 12:54 AM, Susanne Schneider wrote:


Hi Chuck,

Chuck Hill schrieb:

Hi Susanne,
On Jul 30, 2009, at 1:20 AM, Susanne Schneider wrote:

Hi Pierre,

thank you for your reply.

Mr. Pierre Frisch schrieb:

Hi Susanne,
The WebObjects license is very liberal and the intent is that you  
can pretty much install it anywhere provided that you don't build  
a competing dev environment with it.
Ok, I havn't recognized the Apache License coming with the  
installation should apply to WebObjects as there isn't the  
faintest mentioning of WebObjects neither in text nor name of  
the file.

You are jumping to conclusions and they are not correct.

Yes, my fault. Sorry for that.
Or is there another license not coming with the WOInstaller on  
Windows to which you refer?
I don't use the WOInstaller (and I really doubt that Pierre does),  
it is not an Apple product.  It SHOULD be showing the WebObjects  
License.  I am attaching a recent copy, but I am not sure that it  
is the MOST recent version of the license.  At least it will give  
you a better idea.

This body part will be downloaded on demand.
Thank you for sending. At the first glance this seems to be the  
XCode license as quoted by me. I have to take a deeper look next week.


Thank you for your effort and patience!



It looks like that is the license.  BUT you have to read it carefully  
as not all applies to WebObjects.  Section D and paragraphs 6 and 7  
are the key.  Developer Software means Xcode and related tools.



Chuck

--
Chuck Hill Senior Consultant / VP Development

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/archive%40mail-archive.com

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


Re: Deployment with Embedded Frameworks and Duplicate libraries

2009-08-04 Thread Chuck Hill


On Aug 4, 2009, at 10:04 AM, Mr. Frank Cobia wrote:

I did indeed discover that the problem was in the app. When one  
instance of my app hangs, JavaMonitor says that wotaskd is hung  
and all kinds of bad things happen. Either the apache adaptor does  
not redirect to a functioning instance or if it does, it does so  
after a long pause.


How long?  The default is 15 seconds.  If you have multiple hung  
instances, it could redirect to one of them.


The problem is that it never times out. Any user trying to go to  
that instance just hangs forever.


It should not unless going through direct connect.  Perhaps you have  
increased the timeouts for this app in JavaMonitor?


Chuck



Is there some reason that JavaMonitor/wotaskd/Apache Adptor can  
not deal correctly with a hung instance? Is there anything I can  
do to make it behave better?


Define better.  It deals with it fairly well, given that it can  
only assume what some symptoms might  mean.




See above. It is workable for 15 seconds, but it seems to hang  
forever.




Also, I have to turn direct connect off to be able to do the  
refuse new sessions, so is there another way to figure out which  
app is hung so that it can be killed?


Look at the stack trace, like below.  Also look for growing numbers  
of worker threads.  If you have more than 16, you probably have a  
problem.


I will look into that.

Thanks,
Frank
___
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/chill%40global-village.net

This email sent to ch...@global-village.net



--
Chuck Hill Senior Consultant / VP Development

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/archive%40mail-archive.com

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


Re: Ant build in WO 5.4 not working (Windows)

2009-08-04 Thread Susanne Schneider

Chuck Hill schrieb:


On Jul 31, 2009, at 12:54 AM, Susanne Schneider wrote:


Hi Chuck,

Chuck Hill schrieb:

Hi Susanne,
On Jul 30, 2009, at 1:20 AM, Susanne Schneider wrote:

Hi Pierre,

thank you for your reply.

Mr. Pierre Frisch schrieb:

Hi Susanne,
The WebObjects license is very liberal and the intent is that you 
can pretty much install it anywhere provided that you don't build a 
competing dev environment with it.
Ok, I havn't recognized the Apache License coming with the 
installation should apply to WebObjects as there isn't the faintest 
mentioning of WebObjects neither in text nor name of the file.

You are jumping to conclusions and they are not correct.

Yes, my fault. Sorry for that.
Or is there another license not coming with the WOInstaller on 
Windows to which you refer?
I don't use the WOInstaller (and I really doubt that Pierre does), it 
is not an Apple product.  It SHOULD be showing the WebObjects 
License.  I am attaching a recent copy, but I am not sure that it is 
the MOST recent version of the license.  At least it will give you a 
better idea.

This body part will be downloaded on demand.
Thank you for sending. At the first glance this seems to be the XCode 
license as quoted by me. I have to take a deeper look next week.


Thank you for your effort and patience!



It looks like that is the license.  BUT you have to read it carefully as 
not all applies to WebObjects.  Section D and paragraphs 6 and 7 are the 
key.  Developer Software means Xcode and related tools.



Chuck

Thank you for you hint. I will read if again if I get this version to 
work on Windows (see my post on woproject list).


Regards,
Susanne
--
Susanne Schneider
Coordinator secuTrial Development

iAS interActive Systems GmbH
Dieffenbachstraße 33 c, D-10967 Berlin

fon+49(0)30 22 50 50 - 498
fax+49(0)30 22 50 50 - 451
mail   susanne.schnei...@interactive-systems.de
webhttp://www.interActive-Systems.de


Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 106103B

___
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


Re: True war deployment and WebServerResources

2009-08-04 Thread Andrew Lindesay

Hello Alexis;

I could be wrong, but suspect that continuously producing a jar would  
be very slow, but let me know how you get on!


cheers.

In eclipse, you can add a custom builder : projet  properties   
builders  New
the builder would be a simple ant task that jars the classes  
directory and put them somewhere in the classpath ahead of the  
classes directory (is this even possible ?)... I've not tested this,  
it's just a thought.


___
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 arch...@mail-archive.com