Can we use servlet API in webobjects

2014-05-28 Thread Butchi Reddy Velagala
Hi all,
   Good day Wishes !!

  We would like to use servlet API in webobjects. Because we need to
call third party api method with HttpServletRequest and HttpServletResponse
as parameters.

Now we are accepting the DirectAction request and we need to call that
third party api. So we need to convert the WORequest to HttpServletRequest
in DirectAction. *But we don't want to deploy this application in other
servers.* We should have to deploy this only in webobjects.

So please let me know, how to convert WORequest to HttpServletRequest
or else the other choice.

Thanks  regards,
Butchi Reddy Velagala
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-28 Thread Bastian Triller
I added the dependency on apache2 to the adaptor package.

I build the packages from my debian branch of my wonder fork
(https://github.com/btriller/wonder). I use git-buildpackage to build
the packages, in order to build for the different distributions. But you
can also build them by calling debian/rules from the source directory
and what not (dpkg-buildpackage, debuild, pbuilder, cowbuilder ...). The
repository und packages.wocommunity.org also includes the source
packages, so you can download the source from there after adding the
deb-src line to your sources.list.

On Wed, 2014-05-28 at 12:00 +1000, D Tim Cummings wrote:

 Hi Bastian
 
 
 
 Thanks for doing this Bastian. 
 
 
 I am getting the following error during an update
 
 
 A package failed to install.  Trying to recover:
 Setting up libapache2-mod-wo (6.1.1~git20140506.a5ffd1f-1) ...
 /var/lib/dpkg/info/libapache2-mod-wo.postinst:
 6: /var/lib/dpkg/info/libapache2-mod-wo.postinst: a2enmod: not found
 dpkg: error processing package libapache2-mod-wo (--configure):
  subprocess installed post-installation script returned error exit
 status 127
 Errors were encountered while processing:
  libapache2-mod-wo
 
 
 I think it is because apache2-mpm-prefork was installed as a
 dependency of libapache2-mod-wo but in your new version
 apache2-mpm-prefork  is no longer a dependency and so was removed when
 I did the update using aptitude. Of course apache2-mpm-prefork is only
 a transitional package in Ubuntu 14.04 to apache2. 
 
 
 By the way, what is the procedure for creating these packages?
 
 
 Regards
 
 
 Tim
  
 
 
 PRECISE DEPENDENCIES
 
 
 apt-cache showpkg libapache2-mod-wo
 
 
 Package: libapache2-mod-wo
 Versions: 
 6.0.0-1precise1
 (/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_precise_main_binary-amd64_Packages)
  (/var/lib/dpkg/status)
  Description Language: 
 
 File: 
 /var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_precise_main_binary-amd64_Packages
   MD5: 80f23336bdc90e02b026d889a67488ed
 
 
 
 
 Reverse Depends: 
   libapache2-mod-wo:i386,libapache2-mod-wo
 Dependencies: 
 6.0.0-1precise1 - libc6 (2 2.15) apache2-mpm-prefork (0 (null))
 libapache2-mod-wo:i386 (0 (null)) 
 Provides: 
 6.0.0-1precise1 - 
 Reverse Provides: 
 
 
 TRUSTY DEPENDENCIES
 
 
 apt-cache showpkg libapache2-mod-wo
 
 
 Package: libapache2-mod-wo
 Versions: 
 6.1.1~git20140506.a5ffd1f-1
 (/var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_trusty_main_binary-amd64_Packages)
  (/var/lib/dpkg/status)
  Description Language: 
 
 File: 
 /var/lib/apt/lists/packages.wocommunity.org_ubuntu_dists_trusty_main_binary-amd64_Packages
   MD5: 8e02e63398073c15535b21fd3b6a7667
 
 
 
 
 Reverse Depends: 
 Dependencies: 
 6.1.1~git20140506.a5ffd1f-1 - libc6 (2 2.15) 
 Provides: 
 6.1.1~git20140506.a5ffd1f-1 - 
 Reverse Provides: 
 
 
 
 
 
 
 On 28 May 2014, at 6:12, Bastian Triller bastian.tril...@gmail.com
 wrote:
 
 
 
  the default wotaskd and javamonitor is from the webobjects package.
  This is kind of bad documented. webobjects is a dependency of the
  wonder wotaskd and javamonitor, so webobjects gets installed first.
  with it the old applications from apple, because it's practically
  possible to use this in deployment. but since it's recommended to
  use the wonder versions (and distributing the stack across multiple
  hosts isn't very common, at least it wasn't for me), i used the
  wonder packages in the install instructions. if you want to switch
  versions, you can configure them with
  update-alternatives --config wotaskd
  respectively
  update-alternatives --config javamonitor
  
  
  
  On 27 May 2014 16:23, CHRISTOPH WICK | i4innovation GmbH, Bonn
  c...@i4innovation.de wrote:
  
  Hi Bastian,
  
  it works like a charm now - thx a lot. Checked on a clean
  fresh installation.
  
  One more question: the WOMonitor that comes with that
  installation LOOKS as it is the old one from Apple (big fat
  Aqua-Tabs), not like the one from Wonder (see
  http://wiki.wocommunity.org/display/documentation/Deploying
  +on+Linux).
  
  On the other hand, it contains some Wonder-Frameworks (if
  you take a look
  into 
  /var/lib/webobjects/Library/WebObjects/Applications/JavaMonitor.woa/Contents/Frameworks).
  
  So my question: is this intended? Are there two separat
  version of Wonder's WOMonitor. Or is the one in you package
  simply outdated? (Can't remember anymore when Wonder's
  WOMonitor got the new design. But it must haven been some
  years ago). If so, can it be updated also?
  
  Thx again for the installer. Great to work with this
  community.
  C.U.CW
  --
  What are the three enemies of a programmer? Sunlight,
  oxygen, and the appalling roar of the birds.
  
  On 

Re: WODirectConnect, AjaxUpdateLink. Weird.

2014-05-28 Thread Thomas Grass
Hi Aaron,
thanks for you reply. I checked this now. All resources are loaded and there is 
no match with not_found or something similar. I compared the direct connected 
version with the no direct connected and i found no difference. Any other idea? 
Does anyone uses DirectConnect and AjaxUpdateLinks?
Thomas

Am 27.05.2014 um 06:16 schrieb Aaron Rosenzweig aa...@chatnbike.com:

 Hi Thomas,
 
 Make sure ALL of your resources are loading. Maybe there is something with 
 HTTP vs HTTPS or anything really…. When you went to direct connect something 
 else that is important may not be loading either.
 
 Open up Safari and check that all resources are loaded in the resource 
 viewer. Also, do a “view source” and search for “not_found
 AARON ROSENZWEIG / Chat 'n Bike
 e:  aa...@chatnbike.com  t:  (301) 956-2319
   
 
 On May 23, 2014, at 7:18 AM, Thomas Grass (01SoftwareSolutions) 
 off...@01softwaresolutions.eu wrote:
 
 Hi,
 this is the first time i used WODirectConnect on our Testserver. 
 
 Everything works fine but using a AjaxUpdateLink would give no result 
 (clicking on a AjaxUpdateLink do just nothing). The Javascript-Console of my 
 Chrome browser has the following Error-Report for me:
 
 
  • Uncaught TypeError: Cannot read property 'sub' of null 
 wonder.js:350
  • AjaxUpdateLink._updatewonder.js:350
  • AjaxUpdateLink.updatewonder.js:345
  • onclick
 
 The wonder.js on line 350 looks like this:
 
   _update: function(id, actionUrl, options, elementID, queryParams) {
  if (elementID) {
  actionUrl = actionUrl.sub(/[^\/]+$/, elementID);   
 //line nr 350
  }
  actionUrl = actionUrl.addQueryParameters(queryParams);
  if (options  options['_r']) {
  actionUrl = actionUrl.addQueryParameters('_r='+ id);
  }
  else {
  actionUrl = actionUrl.addQueryParameters('_u='+ id);
  }
  actionUrl = actionUrl.addQueryParameters(new Date().getTime());
  new Ajax.Updater(id, actionUrl, 
 AjaxOptions.defaultOptions(options));
  }
 
 
 The weird thing is: If I do not use WODirectConnect, the AjaxUpdateLink 
 works. Also weird: All the other Ajax-Elements (like AjaxSubmitButton, 
 AjaxUpdateContainer, AjaxObserveField etc.) works fine with or without 
 WODirectConnect.
 
 What did I miss?
 
 Thomas
 
 
 
 
 
 --
 Thomas Grass, B.Sc. | 01SoftwareSolutions 
 +49 (89) 41 41 41 03-0
 off...@01softwaresolutions.eu | www.01softwaresolutions.eu
 Lichtenbergstraße 8 | D-85748 Garching b München
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com
 
 This email sent to aa...@chatnbike.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Any plans to build libapache2-mod-wo for Ubuntu 14.04 LTS

2014-05-28 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
Hi Bastian,

thx (again ;-) for your explanation. Maybe you can update the docs in the wiki.

Another thing: 

Line 4 of apache's config file for the webobjects module 
(/etc/apache2/mods-available/webobjects.conf) is:

 Alias /WebObjects /var/lib/webobjects/htdocs/WebObjects

Unfortunately this doesn't work out of the box. At least, it does not on Ubuntu 
14.04 LTS. According to my (limited) understanding of apache configuration, it 
should be:

 IfModule alias_module
 Alias /WebObjects /var/lib/webobjects/htdocs/WebObjects
 Directory /var/lib/webobjects/htdocs/WebObjects
 Options FollowSymlinks
 AllowOverride None
 Require all granted
 /Directory
 /IfModule  

Could you fix this as well?
C.U.CW
-- 
What are the three enemies of a programmer? Sunlight, oxygen, and the appalling 
roar of the birds.


On 27.05.2014, at 22:12, Bastian Triller bastian.tril...@gmail.com wrote:

 the default wotaskd and javamonitor is from the webobjects package. This is 
 kind of bad documented. webobjects is a dependency of the wonder wotaskd and 
 javamonitor, so webobjects gets installed first. with it the old applications 
 from apple, because it's practically possible to use this in deployment. but 
 since it's recommended to use the wonder versions (and distributing the stack 
 across multiple hosts isn't very common, at least it wasn't for me), i used 
 the wonder packages in the install instructions. if you want to switch 
 versions, you can configure them with
 update-alternatives --config wotaskd
 respectively
 update-alternatives --config javamonitor
 On 27 May 2014 16:23, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 c...@i4innovation.de wrote:
 Hi Bastian,
 
 it works like a charm now - thx a lot. Checked on a clean fresh installation.
 
 One more question: the WOMonitor that comes with that installation LOOKS as 
 it is the old one from Apple (big fat Aqua-Tabs), not like the one from 
 Wonder (see 
 http://wiki.wocommunity.org/display/documentation/Deploying+on+Linux).
 
 On the other hand, it contains some Wonder-Frameworks (if you take a look 
 into 
 /var/lib/webobjects/Library/WebObjects/Applications/JavaMonitor.woa/Contents/Frameworks).
 
 So my question: is this intended? Are there two separat version of Wonder's 
 WOMonitor. Or is the one in you package simply outdated? (Can't remember 
 anymore when Wonder's WOMonitor got the new design. But it must haven been 
 some years ago). If so, can it be updated also?
 
 Thx again for the installer. Great to work with this community.
 C.U.CW
 --
 What are the three enemies of a programmer? Sunlight, oxygen, and the 
 appalling roar of the birds.
 
 On 27.05.2014, at 15:15, Bastian Triller bastian.tril...@gmail.com wrote:
 
  I forgot to include the webobjects package as well. It would be nice, if 
  you can test again.
 
  On Mon, 2014-05-26 at 11:51 +0200, CHRISTOPH WICK | i4innovation GmbH, Bonn 
  wrote:
  Hi Bastian,
 
  thanks for updating the Ubuntu/Debian installer.
 
  Unfortunately, it doesn't work for me.
 
  I installed a fresh and clean Ubuntu 14 LTS and followed the instructions 
  on
 
 
  http://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
 
 
  with
 
  DIST=ubuntu
  SUITE=trusty
 
  I get the following error:
 
 
   $ sudo apt-get install libapache2-mod-wo projectwonder-javamonitor 
   projectwonder-wotaskd
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Some packages could not be installed. This may mean that you have
   requested an impossible situation or if you are using the unstable
   distribution that some required packages have not yet been created
   or been moved out of Incoming.
   The following information may help to resolve the situation:
  
   The following packages have unmet dependencies:
projectwonder-javamonitor : Depends: webobjects but it is not 
   installable
Depends: libprojectwonder-ajax-java but it 
   is not going to be installed
Depends: libprojectwonder-javamonitor-java 
   but it is not going to be installed
Depends: libprojectwonder-rest-java but it 
   is not going to be installed
projectwonder-wotaskd : Depends: webobjects but it is not installable
Depends: libprojectwonder-javamonitor-java but 
   it is not going to be installed
Depends: libprojectwonder-rest-java but it is 
   not going to be installed
   E: Unable to correct problems, you have held broken packages.
 
 
 
  If I try
 
 
   $ sudo apt-get install webobjects
 
 
  I get
 
 
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Package webobjects is not available, but is referred to by another 
   package.
   This may mean that the package is missing, has been obsoleted, 

Wonder addition - updated openbase plugin

2014-05-28 Thread Timothy Worman
I received permission to include a modified OpenBasePlugIn into Wonder. Thought 
I’d open this up to a best practice discussion here. Since the original plugin 
was bundled with the WO frameworks, my assumption is that the plugin class 
should be renamed - sth like EROpenBasePlugIn? By doing so we could eliminate 
any possible confusion.

It was communicated to me that the plugin was an enhanced version of the one 
that shipped with WO. I have modified it to correct immediate issues with 
migrations in Wonder (including updates to WO 5.4 synchronization classes). 
This would also make it somewhat dependent on a version of Wonder that has been 
updated in the same fashion - which I also have and, if it passes muster, could 
be pulled into Wonder as well.

Tim
UCLA GSEIS
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

ERRest and JSON Dates

2014-05-28 Thread Ted Archibald
Been working on a project where I'm consuming JSON from a web app and
encountered a problem with dates back and forth.

This is the date format I'm getting from javascript (new Date).toJSON():
2014-05-28T04:27:49.722Z

And this is the date format ERRest seems to want
2014-05-28T04:27:49Z

If I use the javascript date I get errors, but if I remove the '.722'
everything works fine.

Is there an easy way to set ERRest to accept the javascript style of date?
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wonder addition - updated openbase plugin

2014-05-28 Thread David Avendasora
All of the other PlugIns (Oracle excluded) seem to use the same name as the one 
included in the WO binaries, but I do see your point about it possibly causing 
confusion for all the WO developers out there using OpenBase.

…

…

…

snk. snrk. cough. cough…

Okay, seriously though, I think it would be best to use the expected name 
(OpenBasePlugIn) and use the same mechanisms that the other DB plugins use to 
keep there from being conflicts.

Now, let me get back to my servlet-based D2JC project with vertical inheritance 
and sharedEC on SQLServer.

Which reminds me, somewhere around here I have Chuck’s MicrosoftPlugIn… I 
should look at updating that and getting it into Wonder, too - as I promised I 
would … a couple years ago.

:-)

Dave


On May 28, 2014, at 12:27 PM, Timothy Worman li...@thetimmy.com wrote:

 I received permission to include a modified OpenBasePlugIn into Wonder. 
 Thought I’d open this up to a best practice discussion here. Since the 
 original plugin was bundled with the WO frameworks, my assumption is that the 
 plugin class should be renamed - sth like EROpenBasePlugIn? By doing so we 
 could eliminate any possible confusion.
 
 It was communicated to me that the plugin was an enhanced version of the one 
 that shipped with WO. I have modified it to correct immediate issues with 
 migrations in Wonder (including updates to WO 5.4 synchronization classes). 
 This would also make it somewhat dependent on a version of Wonder that has 
 been updated in the same fashion - which I also have and, if it passes 
 muster, could be pulled into Wonder as well.
 
 Tim
 UCLA GSEIS
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.







 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Performance problem - Apache?

2014-05-28 Thread David Avendasora
Your welcome.

;-)

Dave

On May 27, 2014, at 8:18 PM, Ken Anderson kenli...@anderhome.com wrote:

 Nevermind - of course right after I posted this it stopped happening!
 
 On May 27, 2014, at 8:11 PM, Ken Anderson kenli...@anderhome.com wrote:
 
 All,
 
 I’m having a performance problem when returning a large NSData.  I have a 
 POST direct action (wis instead of wa) that returns a 6+ MB response.  
 According to logging in the DA method, processing takes about 1.2 seconds.  
 I then wait about 45 seconds before Apache posts the line to the log saying 
 it responded to a request.  The server is deployed at Amazon in a small 
 instance, which should be getting reasonable bandwidth and throughput.
 
 Any ideas where I could be having an issue?
 
 Thanks,
 Ken
 
 
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
 
 This email sent to kenli...@anderhome.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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
 
 This email sent to webobje...@avendasora.com


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.







 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Can we use servlet API in webobjects

2014-05-28 Thread John Huss
On Wed, May 28, 2014 at 3:27 AM, Butchi Reddy Velagala 
v.butchire...@gmail.com wrote:

 Hi all,
Good day Wishes !!

   We would like to use servlet API in webobjects. Because we need to
 call third party api method with HttpServletRequest and HttpServletResponse
 as parameters.

 Now we are accepting the DirectAction request and we need to call that
 third party api. So we need to convert the WORequest to HttpServletRequest
 in DirectAction. *But we don't want to deploy this application in other
 servers.* We should have to deploy this only in webobjects.

 So please let me know, how to convert WORequest to HttpServletRequest
 or else the other choice.


Whatever library you are using should provide an API that does not require
HttpServletRequest.  For example, GWT has some built-in servlet classes,
but these are just thin wrappers around another API that doesn't depend on
the servlet API.  Other projects should be the same.

Besides WO there are other more popular frameworks (like Play in
particular) that don't use servlets, so library vendors should respect that
fact.

The direct answer is you'll have to get a jar with the implementation of
the servlet api and do the conversion manually.  But don't.



 Thanks  regards,
 Butchi Reddy Velagala

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

 https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com

 This email sent to johnth...@gmail.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wonder addition - updated openbase plugin

2014-05-28 Thread Chuck Hill
The replacement plugins are in ERExtensions which is forced into the class path 
before any of the WO frameworks.  As such any classes that they contain that 
have the same package and class names as in WO proper will render the original 
classes invisible to the JVM.

Chuck



On 2014-05-28, 1:13 PM, David Avendasora wrote:

All of the other PlugIns (Oracle excluded) seem to use the same name as the one 
included in the WO binaries, but I do see your point about it possibly causing 
confusion for all the WO developers out there using OpenBase.

…

…

…

snk. snrk. cough. cough…

Okay, seriously though, I think it would be best to use the expected name 
(OpenBasePlugIn) and use the same mechanisms that the other DB plugins use to 
keep there from being conflicts.

Now, let me get back to my servlet-based D2JC project with vertical inheritance 
and sharedEC on SQLServer.

Which reminds me, somewhere around here I have Chuck’s MicrosoftPlugIn… I 
should look at updating that and getting it into Wonder, too - as I promised I 
would … a couple years ago.

:-)

Dave


On May 28, 2014, at 12:27 PM, Timothy Worman 
li...@thetimmy.commailto:li...@thetimmy.com wrote:

I received permission to include a modified OpenBasePlugIn into Wonder. Thought 
I’d open this up to a best practice discussion here. Since the original plugin 
was bundled with the WO frameworks, my assumption is that the plugin class 
should be renamed - sth like EROpenBasePlugIn? By doing so we could eliminate 
any possible confusion.
It was communicated to me that the plugin was an enhanced version of the one 
that shipped with WO. I have modified it to correct immediate issues with 
migrations in Wonder (including updates to WO 5.4 synchronization classes). 
This would also make it somewhat dependent on a version of Wonder that has been 
updated in the same fashion - which I also have and, if it passes muster, could 
be pulled into Wonder as well.
Tim
UCLA GSEIS
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to webobje...@avendasora.commailto:webobje...@avendasora.com


—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.







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

This email sent to ch...@global-village.netmailto:ch...@global-village.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

RE: Which RIA

2014-05-28 Thread Beatty, Daniel D CIV NAVAIR, 474300D
Hi Aaron, Frank, and gang,
What I found out with GWT when I was using it for my dissertation is that 
Wonder has two channels that tend to be handy with GWT.  First is the ReST 
approach and second is the AJAX frameworks.

With the AJAX frameworks, there is a tricky issue with hooks provided in the 
GWT frameworks for acquiring other JavaScript objects.The trick in this 
case is to make a run-time bind the GWT component to the JS provided in 
Wonder's implementation of AJAX.  The other binding goes to the parent AJAX 
object running in the browser.

The other approach is to bind to ERRest verbs via the standard XMLHttpRequest, 
which GWT inherits from AJAX.   Now, I adopted use of OGF's DFDL standard to 
tell my GWT objects what to expect from ERRest.  Also, the ReST based objects 
observe the same run-time binding as do their WO-AJAX counter-parts.  

I found that there is a trade-off in efficiency between the two approaches.  
The Wonder AJAX can carry the same info as OGF's DFDL, and load straight from 
the Wonder app.  Whereas the DFDL approach either forces a special DFDL Wonder 
app or at least a binding to the Wonder app of some sort.

At one point, I was planning on augmenting Marcus' book or simply adding a 
volume to it on the subject of Wonder with GWT.   

The major advantage of GWT as I see it is not with the learning curve.  Rather, 
the idea is to have a compiler that knows the quirks of each web browser 
targeted.  Some web browsers comply well with standards and others don't.  An 
easy habit to fall into with raw AJAX is to concentrate only on one browser, 
and fail when it comes any other browser the user may choose.  With GWT, 
handling those quirks is an inherited trait.

That being said, I hope also to learn up on Beniot's Montage. It looks pretty 
exciting.  It may offer even better frameworks than GWT, but I can't say for 
sure at this time.  The trials will tell.

Any who, that is my two cents on the subject.   I hope to publish a copy of my 
dissertation for the public soon.  I probably need to include an appendix with 
a tutorial on GWT with Wonder.

V/R,

Daniel Beatty, Ph.D., 
IEEE Certified Software Development Professional (CSDP)
Computer Scientist
Code 474300D
1 Administration Circle. M/S 1109
China Lake, CA 93555
daniel.bea...@navy.mil
(760)939-7097 



-Original Message-
From: webobjects-dev-bounces+daniel.beatty=navy@lists.apple.com 
[mailto:webobjects-dev-bounces+daniel.beatty=navy@lists.apple.com] On 
Behalf Of Aaron Rosenzweig
Sent: Monday, May 26, 2014 8:30 PM
To: Frank Stock
Cc: webobjects-dev@lists.apple.com Development
Subject: Re: Which RIA

Hello Frank and others,

It's tough isn't it? There's a lot of stuff out there.

I didn't know about Vaadin but I watched their video and thought. how is this 
different than Google Web Toolkit? You spend all of your time in pure java but 
the Javascript Ajax stuff is built for you. so you don't have to really learn 
JS and have that context switch in your head. Sounds good, I guess. and Vaadin 
is built on top of GWT. but then what is it really doing above and beyond GWT? 
I don't know, I didn't look at it further. 

I can't help but think that anything based on GWT gives someone an initial bang 
for the buck just because if they know Java that's all they have to worry 
about. But at some point you'll hit a wall and not be able to do something cool 
in the browser that you want to do. not without learning JS and extra work. I 
also don't think GWT was truly designed with Mobile in mind. Notice the word 
truly. 

Frank, it's really up to you. Spend some time to experiment, give yourself two 
weeks or so, and make your best guess. This is a religious decision, it always 
is. 

Personally I'd suggest you communicate over REST with something like ERRest. 
Pick a good Javascript library that makes sense to you.

When I look at it all there are two main camps:

1) HTML based page-to-page Javascript frameworks
a) Fast to learn
b) Pretty and looks nice (at first)
c) Unfortunately becomes hard to maintain over time and very brittle

2) Single page app non-HTML Javascript frameworks
a) Large learning curve
b) Pretty and performant
c) Feels like writing a true application, easy to maintain and extend over time.

Mojo was the preliminary example of a JS framework that adhered to #1. Not 
many people know about it but it was the way to write apps for the WebOS phones 
like the Palm Pre. There are many other frameworks that work in almost the same 
way, the most famous is JQuery-Mobile. It has been proven that this is *not* 
the way to long term sanity. It is a short term *win* or a cool way to make a 
mobile app in a weekend but it will bite you over time. Because of this Palm 
completely dropped Mojo.

JO was the first real example that resonated with me of a JS framework that 
adhered to #2. It is so nice to write an app in javascript. It generates the 
HTML for you, all you have to think about is your business 

Latest working Eclipse/WOLips combination

2014-05-28 Thread Klaus Berkling
Hi All

I had some issues updating an existing and a clean install of Eclipse 3.7 and 
WOLips 3.7.  I can post the exact errors later.  Right now I'm wondering what 
is the latest working combination of Eclipse and WOLips?


kib

The era of procrastination, of half-measures, of soothing and baffling 
expedients, of delays, is coming to its close. In its place we are entering a 
period of consequences.
Winston Churchill

Klaus Berkling
www.berkling.us | @kiberkli | Photography






smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Latest working Eclipse/WOLips combination

2014-05-28 Thread Klaus Berkling

On May 28, 2014, at 7:23 PM, Klaus Berkling webobje...@berkling.us wrote:

 I had some issues updating an existing and a clean install of Eclipse 3.7 and 
 WOLips 3.7.  I can post the exact errors later.  Right now I'm wondering what 
 is the latest working combination of Eclipse and WOLips?

...talking to myself :-) ... Looks like the error is with the JProfiler and 
jRebel parts of WOLips (Optional) - Eclipse 3.7/WOLips 3.7 still works, just 
don't select JProfiler and jRebel and do a clean install.  

Going through 'Check for Updates', selecting WOLips, only, fails with an error:

An error occurred while installing the items
session context was:(profile=epp.package.java, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Install, 
operand=[R]org.objectstyle.wolips.templateengine 3.7.20120723.28 -- 
[R]org.objectstyle.wolips.templateengine 3.7.20140223.48, action=).
Failed to prepare partial IU: [R]org.objectstyle.wolips.templateengine 
3.7.20140223.48.

FWIW...



kib

The essence of training is to allow error without consequence.
Orson Scott Card

Klaus Berkling
www.berkling.us | @kiberkli | Photography






smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Latest working Eclipse/WOLips combination

2014-05-28 Thread Timothy Worman
On May 28, 2014, at 9:17 PM, Klaus Berkling webobje...@berkling.us wrote:

 
 On May 28, 2014, at 7:23 PM, Klaus Berkling webobje...@berkling.us wrote:
 
 I had some issues updating an existing and a clean install of Eclipse 3.7 
 and WOLips 3.7.  I can post the exact errors later.  Right now I'm wondering 
 what is the latest working combination of Eclipse and WOLips?
 
 ...talking to myself :-) ... Looks like the error is with the JProfiler and 
 jRebel parts of WOLips (Optional) - Eclipse 3.7/WOLips 3.7 still works, just 
 don't select JProfiler and jRebel and do a clean install.  
 
 Going through 'Check for Updates', selecting WOLips, only, fails with an 
 error:
 
 An error occurred while installing the items
 session context was:(profile=epp.package.java, 
 phase=org.eclipse.equinox.internal.p2.engine.phases.Install, 
 operand=[R]org.objectstyle.wolips.templateengine 3.7.20120723.28 -- 
 [R]org.objectstyle.wolips.templateengine 3.7.20140223.48, action=).
 Failed to prepare partial IU: [R]org.objectstyle.wolips.templateengine 
 3.7.20140223.48.
 
 FWIW...

Right now I’m on Keplar release 2 with WOLips 4.3. I have no issues except for 
the known issue with the modeler where the attribute detail pane does not 
always refresh when selecting an attribute of an entity. Before that I was on 
3.8.2 which is what GOLipse installs. That is rock solid and has no problems 
that I’m aware of.

I’ve worked some on trying to get a version of GOLipse that installs the 4.3 
combination but the p2 plugin install stuff is always a little hairy to work 
out. I guess it depends on whether folks really want it.

Tim
UCLA GSEIS ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Latest working Eclipse/WOLips combination

2014-05-28 Thread Klaus Berkling

Thanks. I'll look into 3.8

On May 28, 2014, at 9:25 PM, Timothy Worman li...@thetimmy.com wrote:

 Before that I was on 3.8.2 which is what GOLipse installs. That is rock solid 
 and has no problems that I’m aware of.


Maybe it's just me but Golips did not install WOLips. :-(


kib

The essence of training is to allow error without consequence.
Orson Scott Card

Klaus Berkling
www.berkling.us | @kiberkli | Photography






smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Latest working Eclipse/WOLips combination

2014-05-28 Thread Klaus Berkling

On May 28, 2014, at 9:17 PM, Klaus Berkling webobje...@berkling.us wrote:

 On May 28, 2014, at 7:23 PM, Klaus Berkling webobje...@berkling.us wrote:
 
 I had some issues updating an existing and a clean install of Eclipse 3.7 
 and WOLips 3.7.  I can post the exact errors later.  Right now I'm wondering 
 what is the latest working combination of Eclipse and WOLips?
 
 ...talking to myself :-) ... Looks like the error is with the JProfiler and 
 jRebel parts of WOLips (Optional) - Eclipse 3.7/WOLips 3.7 still works, just 
 don't select JProfiler and jRebel and do a clean install.  

The 3.8-combo has the same problem with JRebel and JProfile as 3.7. Unselect 
these options when doing a clean install.



kib

Klaus Berkling
www.berkling.us | @kiberkli | Photography






smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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