[appengine-java] Re: one project access classes in another project in same account

2010-05-10 Thread bhomass
I also noticed that in persistence.xml, the connectionUrl is always
set to appengine. I believe this implies the java code can only access
the datastore in the same app too? Is there any loop hole to access
one of the app's datastore using some jndi url like in tomcat?

Bruce

On May 7, 4:31 pm, bhomass bhom...@gmail.com wrote:
 Ok, I had to rethink this whole thing. I don't absolutely need to do
 this with URLClassLoader. But at least, it would be great if all the
 projects in one account can share common libs. Is that possible? how
 would you do that?

 Bruce

 On May 4, 11:15 am, Don Schwarz schwa...@google.com wrote:



  Bruce, an application is the fundamental unit of isolation in App Engine.
   There are no guarantees that two applications will be available in the same
  data center, let alone loaded onto the same servers.  Each application can
  have more than one administrator, so it's unclear how any automated grouping
  of applications based on their administrator list would work.

  Is there a reason you can't just deploy all of the code you need as a single
  application?

  On Tue, May 4, 2010 at 1:08 PM,bhomassbhom...@gmail.com wrote:
   Patrick

   I don't know if you are personally involved with the restriction
   policy, but I am wondering why is this not allowed? these are apps
   belonging to the same account. there should be no security concerns.
   why this extra restriction?

   Bruce

   On May 4, 12:55 am, Patrick Cornelißen corne...@pcornelissen.de
   wrote:
Hi!

2010/5/4bhomassbhom...@gmail.com:

 using tomcat, I have been able to have one central web app access
 classes from surrounding web apps by simply using URLClassLoader based
 on the file path of the class folder.

 is there a way to do the same once I deploy to GAE?

I don't think that this is allowed, as different GAE apps are not
allowed to act as one app and this is really going into that
direction.

So I think it's technically possible, but not allowed.

--
Mit freundlichen Grüßen,  // Bye,
  Patrick Cornelißen
 http://www.openprojectguide.org
 http://www.pcornelissen.dehttp://code.google.com/p/gloudy/

--
You received this message because you are subscribed to the Google 
Groups
   Google App Engine for Java group.
To post to this group, send email to
   google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
   .
For more options, visit this group athttp://
   groups.google.com/group/google-appengine-java?hl=en.

   --
   You received this message because you are subscribed to the Google Groups
   Google App Engine for Java group.
   To post to this group, send email to
   google-appengine-j...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine for Java group.
  To post to this group, send email to google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine-java+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: one project access classes in another project in same account

2010-05-07 Thread bhomass
Ok, I had to rethink this whole thing. I don't absolutely need to do
this with URLClassLoader. But at least, it would be great if all the
projects in one account can share common libs. Is that possible? how
would you do that?

Bruce

On May 4, 11:15 am, Don Schwarz schwa...@google.com wrote:
 Bruce, an application is the fundamental unit of isolation in App Engine.
  There are no guarantees that two applications will be available in the same
 data center, let alone loaded onto the same servers.  Each application can
 have more than one administrator, so it's unclear how any automated grouping
 of applications based on their administrator list would work.

 Is there a reason you can't just deploy all of the code you need as a single
 application?



 On Tue, May 4, 2010 at 1:08 PM, bhomass bhom...@gmail.com wrote:
  Patrick

  I don't know if you are personally involved with the restriction
  policy, but I am wondering why is this not allowed? these are apps
  belonging to the same account. there should be no security concerns.
  why this extra restriction?

  Bruce

  On May 4, 12:55 am, Patrick Cornelißen corne...@pcornelissen.de
  wrote:
   Hi!

   2010/5/4bhomassbhom...@gmail.com:

using tomcat, I have been able to have one central web app access
classes from surrounding web apps by simply using URLClassLoader based
on the file path of the class folder.

is there a way to do the same once I deploy to GAE?

   I don't think that this is allowed, as different GAE apps are not
   allowed to act as one app and this is really going into that
   direction.

   So I think it's technically possible, but not allowed.

   --
   Mit freundlichen Grüßen,  // Bye,
     Patrick Cornelißen
    http://www.openprojectguide.org
    http://www.pcornelissen.dehttp://code.google.com/p/gloudy/

   --
   You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
   To post to this group, send email to
  google-appengine-j...@googlegroups.com.
   To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  .
   For more options, visit this group athttp://
  groups.google.com/group/google-appengine-java?hl=en.

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: one project access classes in another project in same account

2010-05-04 Thread Don Schwarz
Bruce, an application is the fundamental unit of isolation in App Engine.
 There are no guarantees that two applications will be available in the same
data center, let alone loaded onto the same servers.  Each application can
have more than one administrator, so it's unclear how any automated grouping
of applications based on their administrator list would work.

Is there a reason you can't just deploy all of the code you need as a single
application?

On Tue, May 4, 2010 at 1:08 PM, bhomass bhom...@gmail.com wrote:

 Patrick

 I don't know if you are personally involved with the restriction
 policy, but I am wondering why is this not allowed? these are apps
 belonging to the same account. there should be no security concerns.
 why this extra restriction?

 Bruce

 On May 4, 12:55 am, Patrick Cornelißen corne...@pcornelissen.de
 wrote:
  Hi!
 
  2010/5/4bhomassbhom...@gmail.com:
 
   using tomcat, I have been able to have one central web app access
   classes from surrounding web apps by simply using URLClassLoader based
   on the file path of the class folder.
 
   is there a way to do the same once I deploy to GAE?
 
  I don't think that this is allowed, as different GAE apps are not
  allowed to act as one app and this is really going into that
  direction.
 
  So I think it's technically possible, but not allowed.
 
  --
  Mit freundlichen Grüßen,  // Bye,
Patrick Cornelißen
   http://www.openprojectguide.org
   http://www.pcornelissen.dehttp://code.google.com/p/gloudy/
 
  --
  You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
  To post to this group, send email to
 google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group athttp://
 groups.google.com/group/google-appengine-java?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.