Re: [Asterisk-java-devel] [Asterisk-java-users] I cannot start to using asterisk-java.
Brought to you by:
srt
From: T. L. P. T. <tom...@gm...> - 2008-07-24 17:47:31
|
On Thu, Jul 24, 2008 at 2:11 PM, Stefan Reuter <ste...@re...> wrote: > I am a bit surprised that our target group has so many problems with > basic Java concepts like class loading. > The default mapping strategy already supports using either the > properties file or passing using the class name as agi script, so even > without a mapping file agi URLs like > agi://localhost/HelloAgi or (with packages) > agi://localhost/com.example.HelloAgi will work. > Maybe we can just change the tutorial to use that and stop promoting the > use of the mapping file. > > Do you think that would help? Personally, including a "less advanced Java" approach in the tutorial could be a good idea. Even that the concept of .properties files is a powerfull and flexible one, could result a little strange for the Java newbie. Maybe we could update the tutorial with a more direct approach ( how to map and AGI URL to a Class or package name) and leave the .property file for the advanced Java developer. That would reduce the number of headches when running your "Hello world!" AGI application. Best regards, Tomás. > > > =Stefan > > Martin Smith wrote: > > It sounds like we may need some reading material on CLASSPATH issues > > so that more users can handle this issue. It might even be advisable > > to make the default mapping strategy something like a simple class > > that just stores a simple Map of String -> Class. If you're having > > issues (like this one, but not only this one) we'd welcome any > > contributions to the FAQ to help resolve them. Opinions on changing > > the default mapping strategy? FAQ contributions? > > > > Thanks folks, > > > > Martin > > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > |