Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
On 12/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> if that person single-handidly wrote/owned webspehere why wouldnt it? :)

That would constitute a very evil person ;-)

Martijn

-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Igor Vaynberg

if that person single-handidly wrote/owned webspehere why wouldnt it? :)

-igor


On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:


On 12/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> no we do not. when you attach a patch to jira it has a little checkbox
> saying you are contributing this code as ASL2 so he doesnt need a CLA if
we
> take the code from jira attachment.

Not sure if that holds if the code drop is more than a patch. I think
if it is 'large enough' (for some arbitrary value of large and enough)
I suppose a CLA might be advisable.

Say if someone from IBM would attach a zip with all WebSphere source
inside, and tick the checkbox, I don't think that would hold.

Martijn

--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
On 12/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> no we do not. when you attach a patch to jira it has a little checkbox
> saying you are contributing this code as ASL2 so he doesnt need a CLA if we
> take the code from jira attachment.

Not sure if that holds if the code drop is more than a patch. I think
if it is 'large enough' (for some arbitrary value of large and enough)
I suppose a CLA might be advisable.

Say if someone from IBM would attach a zip with all WebSphere source
inside, and tick the checkbox, I don't think that would hold.

Martijn

-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Igor Vaynberg

lets start with wicket-stuff, let it live there for a few months to become
stable and then add it to core.

-igor


On 12/22/06, Frank Bille <[EMAIL PROTECTED]> wrote:


I agree with that. Unless some of the core devs will support it I think it
will be nice to have in stuff. Now that I think about it stuff could
actually be our own incubator ;)

Frank

On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
>
> But who is going to maintain it then? Adding stuff to our core is good
> and all, but it needs to be maintained.
>
> Personally I think the best lifecycle is to become a Wicket stuff
> project, make sure it grows community support and then vote it into
> core. Or find one (better: 2) core committer sponsor willing to
> support it.
>
> Martijn
>
> On 12/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > side by side with the spring projects looks good to me.
> >
> > johan
> >
> >
> > On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
> > > Are we going to add this to core or as a wicket-stuff project?
> > >
> > > Martijn
> > >
> > >
> > > On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > > > On 12/20/06, Filippo Diotalevi < [EMAIL PROTECTED]>
> wrote:
> > > > > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > > > > How easy will it be to take advantage of container resource
> > injection when
> > > > > > deploying wicket as client tier in glassfish server for
> instance.
> > > > >
> > > > > Hi Ayodeji, as Igor has already pointed out, I've written a
> patch to
> > > > > extend JEE dependency injection to wicket pages.
> > > >
> > > > Hi all, I've updated the wicket-javaee integration module so that
> it
> > > > now supports three java ee 5 annotations: @EJB, @PersistenceUnit
> and
> > > > @Resource.
> > > > You can find the patch attached to the issue:
> > > > http://issues.apache.org/jira/browse/WICKET-174
> > > >
> > > > In particular (sorry, I've made a bit of a mess with attachments)
> the
> > > > module (with sources and mvn build) is at:
> > > >
> > 
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
>
> > > >
> > > > For the documentation check the page:
> > > >
> > http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> > > > where you'll also find two sample applications.
> > > >
> > > > --
> > > > Filippo Diotalevi
> > > > [EMAIL PROTECTED]
> > > > http://www.diotalevi.com/weblog
> > > > http://www.jugmilano.it
> > > >
> > > >
> >
> -
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > your
> > > > opinions on IT & business topics through brief surveys - and earn
> cash
> > > >
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > > --
> > > Vote for Wicket at the
> > http://www.thebeststuffintheworld.com/vote_for/wicket
> > > Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> > > http://wicketframework.org
> > >
> > >
> >
> -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > your
> > > opinions on IT & business topics through brief surveys - and earn
> cash
> > >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
>
>
> --
> Vote for Wicket at the
> http://www.thebeststuffintheworld.com/vote_for/wicket
> Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> http://wicketframework.org
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Igor Vaynberg

no we do not. when you attach a patch to jira it has a little checkbox
saying you are contributing this code as ASL2 so he doesnt need a CLA if we
take the code from jira attachment.

-igor


On 12/22/06, Frank Bille <[EMAIL PROTECTED]> wrote:


If this is a contribution which goes into our ASF repo, then we need a CLA
from the contributor, no matter how much of it is a copy of existing
wicket-spring. If you could also add a unit test like this one, to ensure
correct headers:

http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket-spring/src/test/java/wicket/util/license/ApacheLicenseHeaderTest.java?view=co


Frank


On 12/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
>
> side by side with the spring projects looks good to me.
>
> johan
>
>
> On 12/22/06, Martijn Dashorst < [EMAIL PROTECTED] > wrote:
> >
> > Are we going to add this to core or as a wicket-stuff project?
> >
> > Martijn
> >
> >
> > On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > > On 12/20/06, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED] > wrote:
> > > > > How easy will it be to take advantage of container resource
> > injection when
> > > > > deploying wicket as client tier in glassfish server for
> > instance.
> > > >
> > > > Hi Ayodeji, as Igor has already pointed out, I've written a patch
> > to
> > > > extend JEE dependency injection to wicket pages.
> > >
> > > Hi all, I've updated the wicket-javaee integration module so that it
> > > now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> > > @Resource.
> > > You can find the patch attached to the issue:
> > > http://issues.apache.org/jira/browse/WICKET-174
> > >
> > > In particular (sorry, I've made a bit of a mess with attachments)
> > the
> > > module (with sources and mvn build) is at:
> > > 
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
> >
> > >
> > > For the documentation check the page:
> > > http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> > > where you'll also find two sample applications.
> > >
> > > --
> > > Filippo Diotalevi
> > > [EMAIL PROTECTED]
> > > http://www.diotalevi.com/weblog
> > > http://www.jugmilano.it
> > >
> > >
> > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > > opinions on IT & business topics through brief surveys - and earn
> > cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > --
> > Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
> >
> > Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> > http://wicketframework.org
> >
> > -
> >
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourcefo

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Frank Bille

I agree with that. Unless some of the core devs will support it I think it
will be nice to have in stuff. Now that I think about it stuff could
actually be our own incubator ;)

Frank

On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:


But who is going to maintain it then? Adding stuff to our core is good
and all, but it needs to be maintained.

Personally I think the best lifecycle is to become a Wicket stuff
project, make sure it grows community support and then vote it into
core. Or find one (better: 2) core committer sponsor willing to
support it.

Martijn

On 12/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> side by side with the spring projects looks good to me.
>
> johan
>
>
> On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
> > Are we going to add this to core or as a wicket-stuff project?
> >
> > Martijn
> >
> >
> > On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > > On 12/20/06, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > > > How easy will it be to take advantage of container resource
> injection when
> > > > > deploying wicket as client tier in glassfish server for
instance.
> > > >
> > > > Hi Ayodeji, as Igor has already pointed out, I've written a patch
to
> > > > extend JEE dependency injection to wicket pages.
> > >
> > > Hi all, I've updated the wicket-javaee integration module so that it
> > > now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> > > @Resource.
> > > You can find the patch attached to the issue:
> > > http://issues.apache.org/jira/browse/WICKET-174
> > >
> > > In particular (sorry, I've made a bit of a mess with attachments)
the
> > > module (with sources and mvn build) is at:
> > >
>
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
> > >
> > > For the documentation check the page:
> > >
> http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> > > where you'll also find two sample applications.
> > >
> > > --
> > > Filippo Diotalevi
> > > [EMAIL PROTECTED]
> > > http://www.diotalevi.com/weblog
> > > http://www.jugmilano.it
> > >
> > >
>
-
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> > > opinions on IT & business topics through brief surveys - and earn
cash
> > >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > --
> > Vote for Wicket at the
> http://www.thebeststuffintheworld.com/vote_for/wicket
> > Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> > http://wicketframework.org
> >
> >
>
-
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn c

Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Filippo Diotalevi
> > On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
> > > Are we going to add this to core or as a wicket-stuff project?
> > >
> On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> But who is going to maintain it then? Adding stuff to our core is good
> and all, but it needs to be maintained.
>
> Personally I think the best lifecycle is to become a Wicket stuff
> project, make sure it grows community support and then vote it into
> core. Or find one (better: 2) core committer sponsor willing to
> support it.

Hi, obviously I'd like it to be included in the core project ;-) , but
it makes sense to me also to start including in wicket-stuff (I have
committer access to wicket-stuff). Also, remember that it is a wicket
2 module, so hopefully there will be plenty of time to test it.

And obviously the "sponsors" committer can count on me for support
(it's a simple project anyway)

--
  filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
But who is going to maintain it then? Adding stuff to our core is good
and all, but it needs to be maintained.

Personally I think the best lifecycle is to become a Wicket stuff
project, make sure it grows community support and then vote it into
core. Or find one (better: 2) core committer sponsor willing to
support it.

Martijn

On 12/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> side by side with the spring projects looks good to me.
>
> johan
>
>
> On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
> > Are we going to add this to core or as a wicket-stuff project?
> >
> > Martijn
> >
> >
> > On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > > On 12/20/06, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > > > How easy will it be to take advantage of container resource
> injection when
> > > > > deploying wicket as client tier in glassfish server for instance.
> > > >
> > > > Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> > > > extend JEE dependency injection to wicket pages.
> > >
> > > Hi all, I've updated the wicket-javaee integration module so that it
> > > now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> > > @Resource.
> > > You can find the patch attached to the issue:
> > > http://issues.apache.org/jira/browse/WICKET-174
> > >
> > > In particular (sorry, I've made a bit of a mess with attachments) the
> > > module (with sources and mvn build) is at:
> > >
> http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
> > >
> > > For the documentation check the page:
> > >
> http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> > > where you'll also find two sample applications.
> > >
> > > --
> > > Filippo Diotalevi
> > > [EMAIL PROTECTED]
> > > http://www.diotalevi.com/weblog
> > > http://www.jugmilano.it
> > >
> > >
> -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> > --
> > Vote for Wicket at the
> http://www.thebeststuffintheworld.com/vote_for/wicket
> > Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> > http://wicketframework.org
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Frank Bille

If this is a contribution which goes into our ASF repo, then we need a CLA
from the contributor, no matter how much of it is a copy of existing
wicket-spring. If you could also add a unit test like this one, to ensure
correct headers:

http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket-spring/src/test/java/wicket/util/license/ApacheLicenseHeaderTest.java?view=co

Frank


On 12/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:


side by side with the spring projects looks good to me.

johan


On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
>
> Are we going to add this to core or as a wicket-stuff project?
>
> Martijn
>
>
> On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > On 12/20/06, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > > How easy will it be to take advantage of container resource
> injection when
> > > > deploying wicket as client tier in glassfish server for instance.
> > >
> > > Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> > > extend JEE dependency injection to wicket pages.
> >
> > Hi all, I've updated the wicket-javaee integration module so that it
> > now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> > @Resource.
> > You can find the patch attached to the issue:
> > http://issues.apache.org/jira/browse/WICKET-174
> >
> > In particular (sorry, I've made a bit of a mess with attachments) the
> > module (with sources and mvn build) is at:
> >
> 
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
> >
> > For the documentation check the page:
> > http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> > where you'll also find two sample applications.
> >
> > --
> > Filippo Diotalevi
> > [EMAIL PROTECTED]
> > http://www.diotalevi.com/weblog
> > http://www.jugmilano.it
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> --
> Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
>
> Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> http://wicketframework.org
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Ayodeji Aladejebi

fillipo,
i just tested your patch with glassfish now, works great at least with
@PersistenceUnit

...two thumbs

On 12/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:


side by side with the spring projects looks good to me.

johan


On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED] > wrote:
>
> Are we going to add this to core or as a wicket-stuff project?
>
> Martijn
>
>
> On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > On 12/20/06, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > > How easy will it be to take advantage of container resource
> injection when
> > > > deploying wicket as client tier in glassfish server for instance.
> > >
> > > Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> > > extend JEE dependency injection to wicket pages.
> >
> > Hi all, I've updated the wicket-javaee integration module so that it
> > now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> > @Resource.
> > You can find the patch attached to the issue:
> > http://issues.apache.org/jira/browse/WICKET-174
> >
> > In particular (sorry, I've made a bit of a mess with attachments) the
> > module (with sources and mvn build) is at:
> >
> 
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
> >
> > For the documentation check the page:
> > http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> > where you'll also find two sample applications.
> >
> > --
> > Filippo Diotalevi
> > [EMAIL PROTECTED]
> > http://www.diotalevi.com/weblog
> > http://www.jugmilano.it
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> --
> Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
>
> Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
> http://wicketframework.org
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Johan Compagner

side by side with the spring projects looks good to me.

johan


On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:


Are we going to add this to core or as a wicket-stuff project?

Martijn


On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> On 12/20/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > How easy will it be to take advantage of container resource
injection when
> > > deploying wicket as client tier in glassfish server for instance.
> >
> > Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> > extend JEE dependency injection to wicket pages.
>
> Hi all, I've updated the wicket-javaee integration module so that it
> now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> @Resource.
> You can find the patch attached to the issue:
> http://issues.apache.org/jira/browse/WICKET-174
>
> In particular (sorry, I've made a bit of a mess with attachments) the
> module (with sources and mvn build) is at:
>
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
>
> For the documentation check the page:
> http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> where you'll also find two sample applications.
>
> --
> Filippo Diotalevi
> [EMAIL PROTECTED]
> http://www.diotalevi.com/weblog
> http://www.jugmilano.it
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Ayodeji Aladejebi

I really hope that JEE 5 support should be a first class citizen in wicket.
my organization for instance is speedily adopting glassfish for all our
management solutions of which wicket is now even the defacto client tier
displacing even JSF which should be more native to JEE.

On 12/22/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:


Are we going to add this to core or as a wicket-stuff project?

Martijn


On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> On 12/20/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > How easy will it be to take advantage of container resource
injection when
> > > deploying wicket as client tier in glassfish server for instance.
> >
> > Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> > extend JEE dependency injection to wicket pages.
>
> Hi all, I've updated the wicket-javaee integration module so that it
> now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> @Resource.
> You can find the patch attached to the issue:
> http://issues.apache.org/jira/browse/WICKET-174
>
> In particular (sorry, I've made a bit of a mess with attachments) the
> module (with sources and mvn build) is at:
>
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
>
> For the documentation check the page:
> http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> where you'll also find two sample applications.
>
> --
> Filippo Diotalevi
> [EMAIL PROTECTED]
> http://www.diotalevi.com/weblog
> http://www.jugmilano.it
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Martijn Dashorst
Are we going to add this to core or as a wicket-stuff project?

Martijn


On 12/22/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> On 12/20/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> > On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > How easy will it be to take advantage of container resource injection when
> > > deploying wicket as client tier in glassfish server for instance.
> >
> > Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> > extend JEE dependency injection to wicket pages.
>
> Hi all, I've updated the wicket-javaee integration module so that it
> now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
> @Resource.
> You can find the patch attached to the issue:
> http://issues.apache.org/jira/browse/WICKET-174
>
> In particular (sorry, I've made a bit of a mess with attachments) the
> module (with sources and mvn build) is at:
> http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip
>
> For the documentation check the page:
> http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
> where you'll also find two sample applications.
>
> --
> Filippo Diotalevi
> [EMAIL PROTECTED]
> http://www.diotalevi.com/weblog
> http://www.jugmilano.it
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.3 is as easy as 1-2-3. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-22 Thread Filippo Diotalevi
On 12/20/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:
> On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > How easy will it be to take advantage of container resource injection when
> > deploying wicket as client tier in glassfish server for instance.
>
> Hi Ayodeji, as Igor has already pointed out, I've written a patch to
> extend JEE dependency injection to wicket pages.

Hi all, I've updated the wicket-javaee integration module so that it
now supports three java ee 5 annotations: @EJB, @PersistenceUnit and
@Resource.
You can find the patch attached to the issue:
http://issues.apache.org/jira/browse/WICKET-174

In particular (sorry, I've made a bit of a mess with attachments) the
module (with sources and mvn build) is at:
http://issues.apache.org/jira/secure/attachment/12347734/wicket-javaee-snapshot-1006.zip

For the documentation check the page:
http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
where you'll also find two sample applications.

-- 
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-20 Thread Igor Vaynberg

in 2.0 most of the code is factored out into the extensions package so you
wont need to borrow it

-igor


On 12/20/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> take a look at @SpringBean, it would be trivial to extend the base
clases to
> create an @EjbBean or some such to inject directly into components, all
you
> need is to implement IFieldValueFactory to do that
>

Yes... the @EJB annotation support, which is in the patch (WICKET-174
), works exacly as @SpringBean (I "borrowed" quite a lot of code).
I'll add support also for @PersistenceContext and @Resource

--
  filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-20 Thread Filippo Diotalevi
On 12/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> take a look at @SpringBean, it would be trivial to extend the base clases to
> create an @EjbBean or some such to inject directly into components, all you
> need is to implement IFieldValueFactory to do that
>

Yes... the @EJB annotation support, which is in the patch (WICKET-174
), works exacly as @SpringBean (I "borrowed" quite a lot of code).
I'll add support also for @PersistenceContext and @Resource

--
  filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-20 Thread Igor Vaynberg

take a look at @SpringBean, it would be trivial to extend the base clases to
create an @EjbBean or some such to inject directly into components, all you
need is to implement IFieldValueFactory to do that

-igor


On 12/20/06, Filippo Diotalevi <[EMAIL PROTECTED]> wrote:


On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> How easy will it be to take advantage of container resource injection
when
> deploying wicket as client tier in glassfish server for instance.

Hi Ayodeji, as Igor has already pointed out, I've written a patch to
extend JEE dependency injection to wicket pages.
At the moment, the only supported annotation is @EJB, which means that
you have to write a stateless session bean which performs the
persistence logic, and use the @EJB annotation in your wicket pages.
Something like:

@Stateless
public class MyDao
{
  @PersistenceContext EntityManager em;

  public void create(PersistentObject po)
  {
  //

and

public class MyWicketServlet extends WicketServlet
{
@EJB private MyDao dao;

//...

IMHO using the EntityManager API directly in the web page is not so
elegant, nevertheless it shouldn't be difficult to add this
functionality.

--
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-20 Thread Filippo Diotalevi
On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> How easy will it be to take advantage of container resource injection when
> deploying wicket as client tier in glassfish server for instance.

Hi Ayodeji, as Igor has already pointed out, I've written a patch to
extend JEE dependency injection to wicket pages.
At the moment, the only supported annotation is @EJB, which means that
you have to write a stateless session bean which performs the
persistence logic, and use the @EJB annotation in your wicket pages.
Something like:

@Stateless
public class MyDao
{
  @PersistenceContext EntityManager em;

  public void create(PersistentObject po)
  {
  //

and

public class MyWicketServlet extends WicketServlet
{
 @EJB private MyDao dao;

 //...

IMHO using the EntityManager API directly in the web page is not so
elegant, nevertheless it shouldn't be difficult to add this
functionality.

-- 
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Resource Injection in EJB3

2006-12-20 Thread Igor Vaynberg

http://www.nabble.com/Java-EE-5-support-for-wicket-pages-tf2836998.html

-igor

On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:


How easy will it be to take advantage of container resource injection when
deploying wicket as client tier in glassfish server for instance.

In servlets according to EJB3 and glassfish, we can simply

public class MyServlet extends HttpServlet{
 @PersistenceUnit(unitName="myunit")
EntityManagerFactory  emf;

}


Now can I in my wicket application do something like this,

public class MyWicketServlet extends WicketServlet {
 @PersistenceUnit(unitName="myunit")
EntityManagerFactory  emf;

//...call all the supers(...)

public EntityManagerFactory  getEmf() {
return emf;
}

}

then set web.xml , WicketServlet as MyWicketServlet?

thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket and Resource Injection in EJB3

2006-12-20 Thread Ayodeji Aladejebi

How easy will it be to take advantage of container resource injection when
deploying wicket as client tier in glassfish server for instance.

In servlets according to EJB3 and glassfish, we can simply

public class MyServlet extends HttpServlet{
@PersistenceUnit(unitName="myunit")
EntityManagerFactory  emf;

}


Now can I in my wicket application do something like this,

public class MyWicketServlet extends WicketServlet {
@PersistenceUnit(unitName="myunit")
EntityManagerFactory  emf;

//...call all the supers(...)

public EntityManagerFactory  getEmf() {
return emf;
}

}

then set web.xml , WicketServlet as MyWicketServlet?

thanks
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user