Re: Application properties

2014-01-07 Thread Rural Hunter
You can also put it in web.xml and access it in your pages/services via injected symbol. 于 2014/1/8 3:15, Matthias 写道: I thought that there is a tapestry way of doing this. But if not, I try to use the database. I actually never thought of that, so thanks for the tip. On 07.01.2014 19:24, Bo

Re: [Might be OT] What is the difference between J2EE CDI and Tapestry's IoC ?

2014-01-07 Thread Muhammad Gelbana
Thanks a lot for your time taken to collect these links, I appreciate it. I don't mean to revive a debate, I'll go ahead and read these threads, thanks again :) *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Wed, Jan 8, 2014 at 12:33 AM, Lenny Primak wrote: >

Re: [Might be OT] What is the difference between J2EE CDI and Tapestry's IoC ?

2014-01-07 Thread Lenny Primak
This is somewhat a sensitive subject: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Merits-of-Tapestry-IOC-td5721445.html http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/First-stab-at-CDI-module-for-tapestry-td4469281.html http://apache-tapestry-mailing-list

[Might be OT] What is the difference between J2EE CDI and Tapestry's IoC ?

2014-01-07 Thread Muhammad Gelbana
The subject says it all, what is the different between CDI (Context and Dependency Injection) and Tapestry's IoC ? There is a bug\taskto be implemented in Tapestry 5.4 that implies adding C

Re: [ANN] JumpStart Preview: for Tapestry 5.4

2014-01-07 Thread Howard Lewis Ship
Looks great! On Mon, Jan 6, 2014 at 4:44 AM, Lance Java wrote: > Haha... I did see some similarities. Parts of tapestry-stitch were inspired > by Jumpstart You scratch my back, I'll scratch yours! > On 6 Jan 2014 10:00, "Geoff Callender" < > geoff.callender.jumpst...@gmail.com> > wrote: > >

Re: Application properties

2014-01-07 Thread Matthias
I thought that there is a tapestry way of doing this. But if not, I try to use the database. I actually never thought of that, so thanks for the tip. On 07.01.2014 19:24, Bob Harner wrote: You have all the options available to you that any other Java app provides: 1) put name/value pairs in a

Re: Application properties

2014-01-07 Thread Bob Harner
You have all the options available to you that any other Java app provides: 1) put name/value pairs in a CONFIGURATION table in the database. 2) put name/value pairs in a property file in a location of your choosing. Java has built-in features to read property files 3) set system properties or e

Application properties

2014-01-07 Thread Matthias
Hi, I'm looking for the best way to set global application properties like the path to my data directory or the url of my solr server. Currently I set them within the contributeApplicationDefaults() method of my modules (I have a production and development module). But I don't want to set the