You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Webmaster Bébé Nounou <we...@bebe-nounou.com> on 2007/06/25 17:36:16 UTC

Honeycomb without annotations ?

Is it possible to configure Honeycomb without annotations (with the 
Hibernate .hbm.xml files) ?

Thanks in advance.

Stephane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Feature request

Posted by Marcell Manfrin Barbacena <ba...@gmail.com>.
What if we contribute this information to a URLFriendlyMapper using IoC?

[]s

On 6/26/07, Howard Lewis Ship <hl...@gmail.com> wrote:
> The real issue with this kind of annotation-based mapping is that to
> accomplish it would require loading all the page classes in the entire
> application at startup (or on class reload), just so the annotations
> can be read.  I may look into another option, reading the annotation
> without loading the class into memory. It's still something I've been
> trying to avoid due to the overhead.  I want Tapestry to scale to
> thousands of pages.
>
> On 6/26/07, kranga <kr...@k2d2.org> wrote:
> > Hi Tapestry developers:
> >     Is it possible to add friendly/custom URL support using annotations? If
> > I mark my page class with an annotation such as @URL("/a/b/c/foo"), then
> > Tapestry can internally automatically generate a filter that maps the URL to
> > my page class. So a request such as /a/b/c/foo?id=1 can be handled by the
> > appropriate class (in this case setting a field called id to 1). Is this
> > possible?
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
"Nobody knows who i really am
 I never felt this empty before
 And if I never need someone to come along
 Who's gonna comfort me and keep me strong?"
--
Marcell Manfrin Barbacena
barbacena@gmail.com
MSN Messenger: marcell84bruk@hotmail.com
ICQ UIN: 63671762
Skype: callto://marcell84bruk
+55 (83) 8808-8555 (Oi)
+55 (62) 8172-5708 (Tim)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Feature request

Posted by Howard Lewis Ship <hl...@gmail.com>.
The real issue with this kind of annotation-based mapping is that to
accomplish it would require loading all the page classes in the entire
application at startup (or on class reload), just so the annotations
can be read.  I may look into another option, reading the annotation
without loading the class into memory. It's still something I've been
trying to avoid due to the overhead.  I want Tapestry to scale to
thousands of pages.

On 6/26/07, kranga <kr...@k2d2.org> wrote:
> Hi Tapestry developers:
>     Is it possible to add friendly/custom URL support using annotations? If
> I mark my page class with an annotation such as @URL("/a/b/c/foo"), then
> Tapestry can internally automatically generate a filter that maps the URL to
> my page class. So a request such as /a/b/c/foo?id=1 can be handled by the
> appropriate class (in this case setting a field called id to 1). Is this
> possible?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


T5: Feature request

Posted by kranga <kr...@k2d2.org>.
Hi Tapestry developers:
    Is it possible to add friendly/custom URL support using annotations? If 
I mark my page class with an annotation such as @URL("/a/b/c/foo"), then 
Tapestry can internally automatically generate a filter that maps the URL to 
my page class. So a request such as /a/b/c/foo?id=1 can be handled by the 
appropriate class (in this case setting a field called id to 1). Is this 
possible? 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Honeycomb without annotations ?

Posted by Marcus Schulte <et...@googlemail.com>.
the element to include a hibernate-config file ist config-xml, see

http://honeycomb.javaforge.com/HoneycombHibernate/hivedocs/index.html#sch.HibernateSessionFactory

for complete docs of the schema

2007/6/26, Stephane Decleire <sd...@cariboo-networks.com>:
>
> Thanks Marcus but i didn't find any docs or samples on that
> configuration. Could you tell me what to put in the hivemodule file or
> give me a link to a documentation on that subject ?
>
> Thanks in advance.
>
> Stephane
>
> Marcus Schulte a écrit :
> > yes, it is. but, you'll nevertheless need to run on a 1.5 JVM since the
> > library code uses 1.5 features.
> >
> > 2007/6/25, Webmaster Bébé Nounou <we...@bebe-nounou.com>:
> >>
> >> Is it possible to configure Honeycomb without annotations (with the
> >> Hibernate .hbm.xml files) ?
> >>
> >> Thanks in advance.
> >>
> >> Stephane
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Marcus Schulte
http://marcus-schulte.blogspot.com

Re: Honeycomb without annotations ?

Posted by Stephane Decleire <sd...@cariboo-networks.com>.
Thanks Marcus but i didn't find any docs or samples on that 
configuration. Could you tell me what to put in the hivemodule file or 
give me a link to a documentation on that subject ?

Thanks in advance.

Stephane

Marcus Schulte a écrit :
> yes, it is. but, you'll nevertheless need to run on a 1.5 JVM since the
> library code uses 1.5 features.
>
> 2007/6/25, Webmaster Bébé Nounou <we...@bebe-nounou.com>:
>>
>> Is it possible to configure Honeycomb without annotations (with the
>> Hibernate .hbm.xml files) ?
>>
>> Thanks in advance.
>>
>> Stephane
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Honeycomb without annotations ?

Posted by Marcus Schulte <et...@googlemail.com>.
yes, it is. but, you'll nevertheless need to run on a 1.5 JVM since the
library code uses 1.5 features.

2007/6/25, Webmaster Bébé Nounou <we...@bebe-nounou.com>:
>
> Is it possible to configure Honeycomb without annotations (with the
> Hibernate .hbm.xml files) ?
>
> Thanks in advance.
>
> Stephane
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Marcus Schulte
http://marcus-schulte.blogspot.com