Servoy, Tiger and Java 1.5

Release notes for Servoy betas

Servoy, Tiger and Java 1.5

Postby Riccardino » Mon May 02, 2005 11:21 am

Hi,

did anyone tested both 2.1.2 and 2.2 under Tiger with updated Java?
ciao, ric
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Jan Aleman » Mon May 02, 2005 11:32 am

Apparantly it is officially released now.

So far Servoy works well with it. As it gets installed next to the 1.4.2 release you can always switch back if you experience any problems.

Things we found so far:
-jnlp does not auto open from safari anymore
-in client menu's are not in the apple menu bar but have their own windows like bar.

We will investigate if we can do something about these two issues or file them with apple.

By default 1.4.2 remains the default java so we don't expect this to be a problem.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Jan Aleman » Mon May 02, 2005 12:59 pm

additionally: Tiger appears to be 20-40% faster running Java applications like Servoy. This also applies to the default Java 1.4 that tiger ships with.
Jan Aleman
Servoy
Jan Aleman
 
Posts: 2083
Joined: Wed Apr 23, 2003 9:49 pm
Location: Planet Earth

Postby Vince » Mon May 02, 2005 8:59 pm

Hi Jaleman,

Could you give us an update about Mac OS X's hardware graphic java acceleration that once was in 1.3.1 and then got disabled ?

Is servoy ok with it, is it enabled by default with servoy, does it give speed gains ?

I'm very concerned about Mac performance, as I'm moving from FMP 6 because it's too slow, but I feel servoy is even slower, at least is interface.
Vince
 
Posts: 77
Joined: Tue Nov 23, 2004 2:13 am

Postby Thunder » Tue May 03, 2005 10:40 am

not sure about the java graphic accelleration bit but I can happily say that Servoy is awesome in Tiger. Since switching ALL my development from FMP to Servoy a few years ago, my only remaining niggle about Servoy has been perceived speed. Tiger has apparently fixed it (although curiously it doesn't seem to make much difference whether it is Java 1.4.2 or 1.5 - which you can now choose at will)

Now FMP feels slow. :D
Thunder
 
Posts: 431
Joined: Thu Apr 24, 2003 10:33 am
Location: London

Postby Karel Broer » Mon May 09, 2005 11:55 am

Thunder wrote:not sure about the java graphic accelleration bit but I can happily say that Servoy is awesome in Tiger. Since switching ALL my development from FMP to Servoy a few years ago, my only remaining niggle about Servoy has been perceived speed. Tiger has apparently fixed it (although curiously it doesn't seem to make much difference whether it is Java 1.4.2 or 1.5 - which you can now choose at will)
Now FMP feels slow. :D


That's great to know! What is your Mac profile in wich you develop and/or host your Servoy solution(s)?
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby olivier melet » Mon May 09, 2005 3:40 pm

We noticed several javascript errors with java = 1.4.2-38 (Mac OS X) under Tiger, which does not appear under XP.

Among them: a variable is modified during a parameter concatenation (in an array): N

example:
Code: Select all
requests.push(formName + utils.stringLeft(fieldArray[i], utils.stringPosition(fieldArray[i], '=', 1, 1)) + data.getDataProviderID());
or
requests.push(formName + fieldArray[i].replace('\^1', data.getDataProviderID()));

In Tiger, both of these lines are changing the content of the formName variable!
It seems that scripts involving concat (+) function and eval are mainly concerned by bug.

Another new error with Tiger appears when creating a new record in a table, displaying the following error log:
Code: Select all
java.sql.SQLException: JZ0SE: Invalid object type (or null object) specified for setObject().
java.sql.SQLException: JZ0SE: Invalid object type (or null object) specified for setObject().
   at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:498)
   at com.sybase.jdbc2.jdbc.SybPreparedStatement.setObject(SybPreparedStatement.java:482)
   at com.sybase.jdbc2.jdbc.SybPreparedStatement.setObject(SybPreparedStatement.java:494)
   at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.servoy.j2db.persistence.datasource.p.invoke(Unknown Source)
   at $Proxy1.setObject(Unknown Source)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.setObject(DelegatingPreparedStatement.java:228)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.setObject(DelegatingPreparedStatement.java:228)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.setObject(DelegatingPreparedStatement.java:228)
   at com.servoy.j2db.dataprocessing.SQLEngine.a(Unknown Source)
   at com.servoy.j2db.dataprocessing.SQLEngine.performUpdates(Unknown Source)
   at com.servoy.j2db.dataprocessing.ax.a(Unknown Source)
   at com.servoy.j2db.dataprocessing.FoundSet.updateRecord(Unknown Source)
   at com.servoy.j2db.dataprocessing.FoundSet.stopEditing(Unknown Source)
   at com.servoy.j2db.dataprocessing.ao.if(Unknown Source)
   at com.servoy.j2db.dataprocessing.ao.stopEditing(Unknown Source)
   at com.servoy.j2db.FormPanel.saveData(Unknown Source)
   at com.servoy.j2db.dataui.l$1.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Component.java:5166)
   at java.awt.Component.processEvent(Component.java:4963)
   at java.awt.Container.processEvent(Container.java:1613)
   at java.awt.Component.dispatchEventImpl(Component.java:3681)
   at java.awt.Container.dispatchEventImpl(Container.java:1671)
   at java.awt.Component.dispatchEvent(Component.java:3543)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
   at java.awt.Container.dispatchEventImpl(Container.java:1657)
   at java.awt.Window.dispatchEventImpl(Window.java:1606)
   at java.awt.Component.dispatchEvent(Component.java:3543)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: JZ0SE: Invalid object type (or null object) specified for setObject(). JZ0SE: Invalid object type (or null object) specified for setObject().
com.servoy.j2db.persistence.RepositoryException: java.sql.SQLException: JZ0SE: Invalid object type (or null object) specified for setObject(). JZ0SE: Invalid object type (or null object) specified for setObject().
   at com.servoy.j2db.dataprocessing.SQLEngine.performUpdates(Unknown Source)
   at com.servoy.j2db.dataprocessing.ax.a(Unknown Source)
   at com.servoy.j2db.dataprocessing.FoundSet.updateRecord(Unknown Source)
   at com.servoy.j2db.dataprocessing.FoundSet.stopEditing(Unknown Source)
   at com.servoy.j2db.dataprocessing.ao.if(Unknown Source)
   at com.servoy.j2db.dataprocessing.ao.stopEditing(Unknown Source)
   at com.servoy.j2db.FormPanel.saveData(Unknown Source)
   at com.servoy.j2db.dataui.l$1.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Component.java:5166)
   at java.awt.Component.processEvent(Component.java:4963)
   at java.awt.Container.processEvent(Container.java:1613)
   at java.awt.Component.dispatchEventImpl(Component.java:3681)
   at java.awt.Container.dispatchEventImpl(Container.java:1671)
   at java.awt.Component.dispatchEvent(Component.java:3543)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172)
   at java.awt.Container.dispatchEventImpl(Container.java:1657)
   at java.awt.Window.dispatchEventImpl(Window.java:1606)
   at java.awt.Component.dispatchEvent(Component.java:3543)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Olivier Melet
Administration et projets
InfoForm SA
olivier melet
 
Posts: 183
Joined: Mon Apr 19, 2004 3:33 pm
Location: Switzerland

Postby IT2Be » Mon May 16, 2005 1:27 pm

The strange thing is that I did NOT experience any speed difference on my PB 1.33ghz.
Another thing is that the client doesn't show with the menu's in the right place. The developer thoughs shows them in the right place...
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 10 guests