The Artima Developer Community
Sponsored Link

Java Buzz Forum
Pebble on JDK 1.4.2_06 and JDK 1.5

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
Pebble on JDK 1.4.2_06 and JDK 1.5 Posted: Nov 10, 2004 5:41 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: Pebble on JDK 1.4.2_06 and JDK 1.5
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

I've had several reports via e-mail and through JIRA to say that Pebble doesn't work under JDK 1.4.2_06 and the new JDK 1.5 release. It looks like something has changed regarding JavaBeans properties in these two new versions of the JDK. 1.4.2_05 works fine.

Pebble uses the JSTL expression language to display nested properties in the JSP pages and attempting to access a read-only property causes an error. Of course, strictly speaking the JavaBeans spec says that you must have both a getter and setter, and I suspect something has been tightened up in the new releases to enforce this. Incidently, this also happened between JDK 1.3 and JDK 1.4 where I encountered similar problems with code that didn't meet the specification.

I've done some limited testing on JDK 1.5 (J2SE 5.0) and it seems to work. If you're running on Tomcat versions prior to 5.5, you'll need to remove the $TOMCAT_HOME/common/endorsed/xml-apis.jar file since this causes problems with a system property. I'll put out a new binary release today or tomorrow.

Read: Pebble on JDK 1.4.2_06 and JDK 1.5

Topic: Comparing Web Frameworks: Equinox, Ant and Maven Previous Topic   Next Topic Topic: ClientJava.com Links(9) - XP PL&F on Linux, Desktop Application Presentations, Notepad in Java

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use