Defining Proxies and Proxy Support

View: New views
3 Messages — Rating Filter:   Alert me  

Defining Proxies and Proxy Support

by Timothy Stone-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Developers,

I recently began enhancing the TwitterNotificationPlugin when certain  
features were desired in our corporate environment, specifically the  
need to access services through a proxy. This led to a larger design  
question that I wanted to pass to the developer list for review.

Defining proxies can be set through the System properties. However,  
this is a JVM wide setting that defines the proxy for all applications  
running in the VM on all threads. This might not be desirable.

As I began designing and coding, I thought more about where should a  
proxy be defined. After some consideration, I settled on the  
application context. This seems most practical when you think about  
deployment. If blojsom is deployed in a corporate environment  
requiring the use of the proxy, then BAM! Only blojsom uses the proxy  
and all the application plugins can use the proxy definitions defined  
in the application context properties.

I'm preparing a commit to the TwitterNotificationPlugin with this  
support.

Yet, this could be further enhanced with a ServletContextListener and  
the use of java.net.Proxy. Build the Proxy and put it on the  
application context for use by plugins needing a proxy.

What are the thoughts of others that have needed to answer this  
question in web applications?

Regards,
Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Ask me how you can start digitally signing your email!

iEYEARECAAYFAkphIjkACgkQ5ypOrCMXsT0T8wCcCAO/TlYWq40/4nek/9KDh+Mj
TBcAn0oOnjBMJYxJqPx9BVREVYLleN12
=IZWf
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers

Re: Defining Proxies and Proxy Support

by Ingo Jobling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hardly anyone using Blojsom, too bad.  The original developers seem to have
abandoned the project. If you have decided to use it in your corporate
environment, then just fix it up as you require.  If you feel that your
modifications would be useful to others, it would be nice to share, but I
think that the project needs to some new people to take loving care of it!

-----Original Message-----
From: Timothy Stone [mailto:blojsom.developer@...]
Sent: July-17-09 9:16 PM
To: blojsom-developers@...
Subject: [Blojsom-developers] Defining Proxies and Proxy Support

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Developers,

I recently began enhancing the TwitterNotificationPlugin when certain  
features were desired in our corporate environment, specifically the  
need to access services through a proxy. This led to a larger design  
question that I wanted to pass to the developer list for review.

Defining proxies can be set through the System properties. However,  
this is a JVM wide setting that defines the proxy for all applications  
running in the VM on all threads. This might not be desirable.

As I began designing and coding, I thought more about where should a  
proxy be defined. After some consideration, I settled on the  
application context. This seems most practical when you think about  
deployment. If blojsom is deployed in a corporate environment  
requiring the use of the proxy, then BAM! Only blojsom uses the proxy  
and all the application plugins can use the proxy definitions defined  
in the application context properties.

I'm preparing a commit to the TwitterNotificationPlugin with this  
support.

Yet, this could be further enhanced with a ServletContextListener and  
the use of java.net.Proxy. Build the Proxy and put it on the  
application context for use by plugins needing a proxy.

What are the thoughts of others that have needed to answer this  
question in web applications?

Regards,
Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Ask me how you can start digitally signing your email!

iEYEARECAAYFAkphIjkACgkQ5ypOrCMXsT0T8wCcCAO/TlYWq40/4nek/9KDh+Mj
TBcAn0oOnjBMJYxJqPx9BVREVYLleN12
=IZWf
-----END PGP SIGNATURE-----

----------------------------------------------------------------------------
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize

details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.17/2242 - Release Date: 07/17/09
06:08:00


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers

Re: Defining Proxies and Proxy Support

by Timothy Stone-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My reply can be found in "Introductions and future of blojsom" on this  
list.

This question remains open and thoughts are welcome.

Regards,
Tim

On Jul 18, 2009, at 1:02 AM, Ingo Jobling wrote:

> Hardly anyone using Blojsom, too bad.  The original developers seem  
> to have
> abandoned the project. If you have decided to use it in your corporate
> environment, then just fix it up as you require.  If you feel that  
> your
> modifications would be useful to others, it would be nice to share,  
> but I
> think that the project needs to some new people to take loving care  
> of it!
>
> -----Original Message-----
> From: Timothy Stone [mailto:blojsom.developer@...]
> Sent: July-17-09 9:16 PM
> To: blojsom-developers@...
> Subject: [Blojsom-developers] Defining Proxies and Proxy Support
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Developers,
>
> I recently began enhancing the TwitterNotificationPlugin when certain
> features were desired in our corporate environment, specifically the
> need to access services through a proxy. This led to a larger design
> question that I wanted to pass to the developer list for review.
>
> Defining proxies can be set through the System properties. However,
> this is a JVM wide setting that defines the proxy for all applications
> running in the VM on all threads. This might not be desirable.
>
> As I began designing and coding, I thought more about where should a
> proxy be defined. After some consideration, I settled on the
> application context. This seems most practical when you think about
> deployment. If blojsom is deployed in a corporate environment
> requiring the use of the proxy, then BAM! Only blojsom uses the proxy
> and all the application plugins can use the proxy definitions defined
> in the application context properties.
>
> I'm preparing a commit to the TwitterNotificationPlugin with this
> support.
>
> Yet, this could be further enhanced with a ServletContextListener and
> the use of java.net.Proxy. Build the Proxy and put it on the
> application context for use by plugins needing a proxy.
>
> What are the thoughts of others that have needed to answer this
> question in web applications?
>
> Regards,
> Tim
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Ask me how you can start digitally signing your email!
>
> iEYEARECAAYFAkphIjkACgkQ5ypOrCMXsT0T8wCcCAO/TlYWq40/4nek/9KDh+Mj
> TBcAn0oOnjBMJYxJqPx9BVREVYLleN12
> =IZWf
> -----END PGP SIGNATURE-----
>
> ----------------------------------------------------------------------------
> --
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
>
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Blojsom-developers mailing list
> Blojsom-developers@...
> https://lists.sourceforge.net/lists/listinfo/blojsom-developers
> Checked by AVG - www.avg.com
> Version: 8.5.392 / Virus Database: 270.13.17/2242 - Release Date:  
> 07/17/09
> 06:08:00
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Blojsom-developers mailing list
> Blojsom-developers@...
> https://lists.sourceforge.net/lists/listinfo/blojsom-developers

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Ask me how you can start digitally signing your email!

iEYEARECAAYFAkph5vcACgkQ5ypOrCMXsT1UGwCgj5NH9zE1+woBUhGWOy/UYUSZ
3SQAniDTVSogKGHZ6wP3HfFPJvLKVsWo
=VthE
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers