20061128 Tuesday November 28, 2006

Spring's "p" namespace and AppFuse Performance Tuning After seeing Rod Johnson's post about Spring 2.0's "p" namespace, I'm wondering if it's something we should include in AppFuse? I don't think it's quite as intuitive as <property name="">, but I'm curious to see what users think. The biggest reason against using it is (AFAIK) neither Eclipse nor IDEA will give you code-completion on (whereas they will for <property name="">).

In other news, Matt Fleming has an excellent writeup on how he optimized AppFuse (Spring MVC flavor) to handle pages with large forms. His form was 38 MB worth of HTML when saved to disk so I doubt everyone will need this, but it certainly is interesting information. If there's enough demand, we'll make Matt's suggestions available options in an upcoming release. Posted in Java at Nov 28 2006, 03:02:13 PM MST 4 Comments

Comments:

Just a short note: Spring IDE 2.0 will provide support for the new shortcut syntax. A preview is available at http://springide.org/project/wiki/SpringsPNamespace. Christian

Posted by Christian Dupuis on November 29, 2006 at 09:09 AM MST #

I really don't like the new syntax, even if IDE's supported it. The property name="" syntax is easier on the eyes and less obfuscated compared to the new syntax.

Posted by Sanjiv Jivan on November 29, 2006 at 01:13 PM MST #

Hey Matt,

have you had a look at XBean? (Part of the Geronimo Project)

Shameless plug: I posted my two cents and some information about XBean here. :)

-Stefan

Posted by Stefan Kleineikenscheidt on November 29, 2006 at 02:08 PM MST #

I think it's less readable right now but since it's such a common part of the config files, I think it would become second nature quickly. Still, the lack of code completion may offset any efficiencies gained by the shorthand. seems like a wash.

Posted by Rick Marry on November 29, 2006 at 06:46 PM MST #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architect who enjoys developing applications with open source technologies. Contact me for rates.
« January 2009
SunMonTueWedThuFriSat
    
1
2
3
5
6
7
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today

Recent Entries

Tag Cloud