Re: Apache wicket project as osgi compoments

2014-02-09 Thread Shengche Hsiao
Using customized security permissions is a nice entry, but if I have to
dynamic load new modular (another jar or war)  after deployed web app, do
you have any suggestion?


On Sun, Feb 9, 2014 at 3:11 AM, Paul Bors p...@bors.ws wrote:

 We solved this by using customized security permissions.
 If a user wasn't given the permission for module A, so be it :)

 On Feb 4, 2014, at 7:49 PM, Shengche Hsiao shengchehs...@gmail.com
 wrote:

  Hello
 
  Thanks for reply, indeed I plan to implement my wicket project in osgi
 way!
  But I don't know how to start it, thanks for hyper links, I'll check it
 out.
 
 
  On Wed, Feb 5, 2014 at 3:42 AM, Francois Meillet 
 francois.meil...@gmail.com
  wrote:
 
  You should have a look at
 
  http://code.google.com/p/osgi-enterprise/wiki/WicketAndOsgi
  https://github.com/wicketstuff/core/wiki/Osgi
  http://hwellmann.blogspot.fr/2011/06/wicket-and-osgi.html
 
 
 http://www.volkomenjuist.nl/blog/2012/07/25/wicket-mounting-in-an-osgi-environment/
  https://ops4j1.jira.com/wiki/display/paxwicket/Install+Pax+Wicket
 
 
 http://karaf.922171.n3.nabble.com/pax-wicket-example-running-on-karaf-td4027622.html
 
  François Meillet
  Formation Wicket - Développement Wicket
 
 
 
 
 
  Le 4 févr. 2014 à 17:01, tho...@jarnot.de a écrit :
 
  Although we don't know anything about your application structure, I
 tend
  to
  answer YES.
 
  Assuming from the subject, that we are talking about OSGi modules (or
  rather
  bundles), making the application capable of that dynamism is surely
  possible. It simply depends on your decision of utilizing the OSGi
  programming model and execution environment. Do you have your
 application
  modules OSGi ready?
 
  Having a look a the wicket-distribution it seems to be OSGi-ready. You
  also
  may have a look at the Pax Wicket extension.
 
  So you're probably good to go.
 
 
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/Apache-wicket-project-as-osgi-compoments-tp4664159p4664164.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 
  --
 
  ---
  We do this not because it is easy. We do this because it is hard.
  ---
  ShengChe Hsiao
  ---
  front...@gmail.com
  front...@tc.edu.tw
  ---
  VoIP : 070-910-2450
  ---


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 

---
We do this not because it is easy. We do this because it is hard.
---
ShengChe Hsiao
---
front...@gmail.com
front...@tc.edu.tw
---
VoIP : 070-910-2450
---


Re: Apache wicket project as osgi compoments

2014-02-08 Thread Paul Bors
We solved this by using customized security permissions.
If a user wasn’t given the permission for module A, so be it :)

On Feb 4, 2014, at 7:49 PM, Shengche Hsiao shengchehs...@gmail.com wrote:

 Hello
 
 Thanks for reply, indeed I plan to implement my wicket project in osgi way!
 But I don't know how to start it, thanks for hyper links, I'll check it out.
 
 
 On Wed, Feb 5, 2014 at 3:42 AM, Francois Meillet francois.meil...@gmail.com
 wrote:
 
 You should have a look at
 
 http://code.google.com/p/osgi-enterprise/wiki/WicketAndOsgi
 https://github.com/wicketstuff/core/wiki/Osgi
 http://hwellmann.blogspot.fr/2011/06/wicket-and-osgi.html
 
 http://www.volkomenjuist.nl/blog/2012/07/25/wicket-mounting-in-an-osgi-environment/
 https://ops4j1.jira.com/wiki/display/paxwicket/Install+Pax+Wicket
 
 http://karaf.922171.n3.nabble.com/pax-wicket-example-running-on-karaf-td4027622.html
 
 François Meillet
 Formation Wicket - Développement Wicket
 
 
 
 
 
 Le 4 févr. 2014 à 17:01, tho...@jarnot.de a écrit :
 
 Although we don't know anything about your application structure, I tend
 to
 answer YES.
 
 Assuming from the subject, that we are talking about OSGi modules (or
 rather
 bundles), making the application capable of that dynamism is surely
 possible. It simply depends on your decision of utilizing the OSGi
 programming model and execution environment. Do you have your application
 modules OSGi ready?
 
 Having a look a the wicket-distribution it seems to be OSGi-ready. You
 also
 may have a look at the Pax Wicket extension.
 
 So you're probably good to go.
 
 
 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Apache-wicket-project-as-osgi-compoments-tp4664159p4664164.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 
 -- 
 
 ---
 We do this not because it is easy. We do this because it is hard.
 ---
 ShengChe Hsiao
 ---
 front...@gmail.com
 front...@tc.edu.tw
 ---
 VoIP : 070-910-2450
 ---


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
Depends what you mean by disable. You could dynamically decide not to 
call them, if that's what you want.




From:   Shengche Hsiao shengchehs...@gmail.com
To: Wicket User Mailinglist users@wicket.apache.org
Date:   02/04/2014 08:42 AM
Subject:Apache wicket project as osgi compoments



Hello

I have a web application comprised of several modules, can I dynamically
enable/disable these modules in runtime?


-- 

---
We do this not because it is easy. We do this because it is hard.
---
ShengChe Hsiao
---
front...@gmail.com
front...@tc.edu.tw
---
VoIP : 070-910-2450
---



**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**


Re: Apache wicket project as osgi compoments

2014-02-04 Thread Shengche Hsiao
Hello

Our team developed a web application using php, it's original idea was from
XOOPS. As you know XOOPS's modules can dynamic install in or drop out, can
wicket project do the same thing?

And as you said You could dynamically decide not to call them, would you
please give me some instruction?


On Tue, Feb 4, 2014 at 10:44 PM, Richard W. Adams rwada...@up.com wrote:

 Depends what you mean by disable. You could dynamically decide not to
 call them, if that's what you want.




 From:   Shengche Hsiao shengchehs...@gmail.com
 To: Wicket User Mailinglist users@wicket.apache.org
 Date:   02/04/2014 08:42 AM
 Subject:Apache wicket project as osgi compoments



 Hello

 I have a web application comprised of several modules, can I dynamically
 enable/disable these modules in runtime?


 --

 ---
 We do this not because it is easy. We do this because it is hard.
 ---
 ShengChe Hsiao
 ---
 front...@gmail.com
 front...@tc.edu.tw
 ---
 VoIP : 070-910-2450
 ---



 **

 This email and any attachments may contain information that is
 confidential and/or privileged for the sole use of the intended recipient.
  Any use, review, disclosure, copying, distribution or reliance by others,
 and any forwarding of this email or its contents, without the express
 permission of the sender is strictly prohibited by law.  If you are not the
 intended recipient, please contact the sender immediately, delete the
 e-mail and destroy all copies.
 **




-- 

---
We do this not because it is easy. We do this because it is hard.
---
ShengChe Hsiao
---
front...@gmail.com
front...@tc.edu.tw
---
VoIP : 070-910-2450
---


Re: Apache wicket project as osgi compoments

2014-02-04 Thread Richard W. Adams
It's just a normal if statement, like:

if (some_condition_is_met) {
   ClassA.doSomething();
} else {
  ClassB.doSomethingElse();
}

Where either ClassA or ClassB is in the module you want to enable/disable.




From:   Shengche Hsiao shengchehs...@gmail.com
To: Wicket User Mailinglist users@wicket.apache.org
Date:   02/04/2014 08:51 AM
Subject:Re: Apache wicket project as osgi compoments



Hello

Our team developed a web application using php, it's original idea was 
from
XOOPS. As you know XOOPS's modules can dynamic install in or drop out, can
wicket project do the same thing?

And as you said You could dynamically decide not to call them, would you
please give me some instruction?


On Tue, Feb 4, 2014 at 10:44 PM, Richard W. Adams rwada...@up.com wrote:

 Depends what you mean by disable. You could dynamically decide not to
 call them, if that's what you want.




 From:   Shengche Hsiao shengchehs...@gmail.com
 To: Wicket User Mailinglist users@wicket.apache.org
 Date:   02/04/2014 08:42 AM
 Subject:Apache wicket project as osgi compoments



 Hello

 I have a web application comprised of several modules, can I dynamically
 enable/disable these modules in runtime?


 --

 ---
 We do this not because it is easy. We do this because it is hard.
 ---
 ShengChe Hsiao
 ---
 front...@gmail.com
 front...@tc.edu.tw
 ---
 VoIP : 070-910-2450
 ---



 **

 This email and any attachments may contain information that is
 confidential and/or privileged for the sole use of the intended 
recipient.
  Any use, review, disclosure, copying, distribution or reliance by 
others,
 and any forwarding of this email or its contents, without the express
 permission of the sender is strictly prohibited by law.  If you are not 
the
 intended recipient, please contact the sender immediately, delete the
 e-mail and destroy all copies.
 **




-- 

---
We do this not because it is easy. We do this because it is hard.
---
ShengChe Hsiao
---
front...@gmail.com
front...@tc.edu.tw
---
VoIP : 070-910-2450
---



**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**


Re: Apache wicket project as osgi compoments

2014-02-04 Thread tho...@jarnot.de
Although we don't know anything about your application structure, I tend to
answer YES.

Assuming from the subject, that we are talking about OSGi modules (or rather
bundles), making the application capable of that dynamism is surely
possible. It simply depends on your decision of utilizing the OSGi
programming model and execution environment. Do you have your application
modules OSGi ready?

Having a look a the wicket-distribution it seems to be OSGi-ready. You also
may have a look at the Pax Wicket extension.

So you're probably good to go.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Apache-wicket-project-as-osgi-compoments-tp4664159p4664164.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Apache wicket project as osgi compoments

2014-02-04 Thread Francois Meillet
You should have a look at 

http://code.google.com/p/osgi-enterprise/wiki/WicketAndOsgi
https://github.com/wicketstuff/core/wiki/Osgi
http://hwellmann.blogspot.fr/2011/06/wicket-and-osgi.html
http://www.volkomenjuist.nl/blog/2012/07/25/wicket-mounting-in-an-osgi-environment/
https://ops4j1.jira.com/wiki/display/paxwicket/Install+Pax+Wicket
http://karaf.922171.n3.nabble.com/pax-wicket-example-running-on-karaf-td4027622.html

François Meillet
Formation Wicket - Développement Wicket





Le 4 févr. 2014 à 17:01, tho...@jarnot.de a écrit :

 Although we don't know anything about your application structure, I tend to
 answer YES.
 
 Assuming from the subject, that we are talking about OSGi modules (or rather
 bundles), making the application capable of that dynamism is surely
 possible. It simply depends on your decision of utilizing the OSGi
 programming model and execution environment. Do you have your application
 modules OSGi ready?
 
 Having a look a the wicket-distribution it seems to be OSGi-ready. You also
 may have a look at the Pax Wicket extension.
 
 So you're probably good to go.
 
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Apache-wicket-project-as-osgi-compoments-tp4664159p4664164.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 



Re: Apache wicket project as osgi compoments

2014-02-04 Thread Shengche Hsiao
Hello

Thanks for reply, indeed I plan to implement my wicket project in osgi way!
But I don't know how to start it, thanks for hyper links, I'll check it out.


On Wed, Feb 5, 2014 at 3:42 AM, Francois Meillet francois.meil...@gmail.com
 wrote:

 You should have a look at

 http://code.google.com/p/osgi-enterprise/wiki/WicketAndOsgi
 https://github.com/wicketstuff/core/wiki/Osgi
 http://hwellmann.blogspot.fr/2011/06/wicket-and-osgi.html

 http://www.volkomenjuist.nl/blog/2012/07/25/wicket-mounting-in-an-osgi-environment/
 https://ops4j1.jira.com/wiki/display/paxwicket/Install+Pax+Wicket

 http://karaf.922171.n3.nabble.com/pax-wicket-example-running-on-karaf-td4027622.html

 François Meillet
 Formation Wicket - Développement Wicket





 Le 4 févr. 2014 à 17:01, tho...@jarnot.de a écrit :

  Although we don't know anything about your application structure, I tend
 to
  answer YES.
 
  Assuming from the subject, that we are talking about OSGi modules (or
 rather
  bundles), making the application capable of that dynamism is surely
  possible. It simply depends on your decision of utilizing the OSGi
  programming model and execution environment. Do you have your application
  modules OSGi ready?
 
  Having a look a the wicket-distribution it seems to be OSGi-ready. You
 also
  may have a look at the Pax Wicket extension.
 
  So you're probably good to go.
 
 
  --
  View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Apache-wicket-project-as-osgi-compoments-tp4664159p4664164.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 




-- 

---
We do this not because it is easy. We do this because it is hard.
---
ShengChe Hsiao
---
front...@gmail.com
front...@tc.edu.tw
---
VoIP : 070-910-2450
---