[appengine-java] Protect my paypal credentials

2011-05-27 Thread pavb
Hi

My paypal credential are encrypted with AES in the configuration files
of my web application and I am using the Jasypt libray to encrypt /
decrypt the data.
With my old application configuration I used a WebPBE configuration
(Web form) to enter the AES key at the server starting. But now it is
running on GAE and I could not enter the key each time a new instance
of my server will be started.
What is the best way to store securely this key?
Hard coded in my source files?

Thanks

PA

-- 
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-java@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] Deploying My Web Application in google App engine

2011-05-27 Thread peter jerald
Hi All,
 
I am new to this Google App engine. I am very much interested with this. I 
have developed web application with combination of Struts,Spring and 
hibernate and MySQL as a backend. I planning to deploy this application in 
google App engine. Is this possible to deploy my application? If yes, Please 
provide documentation to go ahead for deploying.
 
Regards,
A. Peter Jerald.

-- 
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-java@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] Deploying My Web Application in google App engine

2011-05-27 Thread Prashant
GAE doesn't support MySQL and I am not very sure about other libraries ...

On Fri, May 27, 2011 at 5:36 PM, peter jerald peter.a.jer...@gmail.comwrote:

 Hi All,

 I am new to this Google App engine. I am very much interested with this. I
 have developed web application with combination of Struts,Spring and
 hibernate and MySQL as a backend. I planning to deploy this application in
 google App engine. Is this possible to deploy my application? If yes, Please
 provide documentation to go ahead for deploying.

 Regards,
 A. Peter Jerald.

 --
 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-java@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.


-- 
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-java@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: Deploying My Web Application in google App engine

2011-05-27 Thread Brandon Donnelson
I've considered duel deployments and I have tested it using JDO  for GAE and 
Tomcat/MySQL, although you have to use JDO entirely for the persistant 
engine. You'll have to use lowest common denominator in API for JDO and 
switch out the libraries and configuration to get the job done. when I used 
JDO on mysql, it seemed fun and seemed to have the new JDO features which 
were nice, but GAE doesn't support all JDO features. 

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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-java@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] setter values becom null during AsyncCall

2011-05-27 Thread meiaestro
Hi Experts,

My first posting, so please excuse any clumsiness. 

The Background:
Within a click handler I am calling a RemoteService for storing data in a 
datastore. As I do not only want to store a simple element I defined my own 
class SaveObject. As I also want to store different types of Data, I 
created subclasses of SaveObject. For all attributes I created getter and 
setter Methods. 

The problem:
Within the click handler I create one of the mentioned subclasses of 
SaveObject:

MySubclass newSubclass = new MySubclass();

Within the constructor of the Subclasse a setter is called to set values of 
a string array called Attributes.
The next step is setting Values with an identic setter as used in the 
constructor :

newSubclass.setValues(new String[] {test1, test2, test3);

And finally I send it all to the RemoteService:

datastore.save(newSubclass,
new AsyncCallbackString() {
public void onFailure(Throwable caught) {
Window.alert(+caught.getLocalizedMessage());
}
public void onSuccess(String result) {
Window.alert(result);
}
}); 

In debug mode I now see that within the implementation of the save method 
 the Array Attributes still has the values set in the constructor, but the 
values set with the setter method have become null

Any Ideas?

Thanks a lot in advance!

-- 
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-java@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] Protect my paypal credentials

2011-05-27 Thread Jeff Schnitzer
Since catastrophe results from a Malicious Entity getting two pieces
of information (your encrypted PP credential and the AES key), you
probably should store these pieces of information in two separate
places.  Store the encrypted PP credential in your deployment, but
make fetch the AES key from the datastore.

Jeff

On Fri, May 27, 2011 at 12:46 AM, pavb pavieillardba...@gmail.com wrote:
 Hi

 My paypal credential are encrypted with AES in the configuration files
 of my web application and I am using the Jasypt libray to encrypt /
 decrypt the data.
 With my old application configuration I used a WebPBE configuration
 (Web form) to enter the AES key at the server starting. But now it is
 running on GAE and I could not enter the key each time a new instance
 of my server will be started.
 What is the best way to store securely this key?
 Hard coded in my source files?

 Thanks

 PA

 --
 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-java@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.



-- 
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-java@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: setter values becom null during AsyncCall

2011-05-27 Thread Brandon Donnelson
Is this JSP, GWT or something else?


-- 
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-java@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] Aw: Re: setter values becom null during AsyncCall

2011-05-27 Thread meiaestro
I'm using GWT 2.3.0

-- 
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-java@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: Aw: Re: setter values becom null during AsyncCall

2011-05-27 Thread Brandon Donnelson
Sounds like it could be scope of the variable. Check to see if your setting 
the superclass var or subclass var. At least thats what I am thinking at the 
moment after looking at your code. I think some more code could help divine 
the solution easier. 

Brandon Donnelson
http://gwt-examples.googlecode.com


-- 
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-java@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] reading local log data

2011-05-27 Thread Steve
I'm starting out with App Engine Java and I have the guestbook application 
running on my local system. My question is how do I read/see the local log 
data?  I have read up on logging in this environment and searched for posts 
about it. I expect the log information to go to the terminal when 
dev_appserver.sh is used to start my app but no log info appears.  When I 
run my app from NetBeans 6.9.1, I would expect the log info to appear in one 
of the output windows but again no log info.  How do you see the log info?

-- 
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-java@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] Aw: Re: Aw: Re: setter values becom null during AsyncCall

2011-05-27 Thread meiaestro
Ok, found it. Guess you gave me the right push - thanks:

While my subclasses did extend the IsSerializable interface, the superclass 
didn't. Never the less... funny effect ;-) 

-- 
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-java@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: FileWriteChannel writeChannel throwing java.io.IOException?

2011-05-27 Thread Brandon Donnelson
oops HeapByteBuffer error is not an error but the object toString().

-- 
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-java@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: reading local log data

2011-05-27 Thread Steve
I figured out the problem. My logging code was not getting hit because of 
another problem. Once my logging code got hit the output does go to the 
expected places.

-- 
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-java@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] Aw: Re: Aw: Re: setter values becom null during AsyncCall

2011-05-27 Thread Brandon Donnelson
Good job.
On May 27, 2011 2:40 PM, meiaestro jmalbre...@gmx.de wrote:
 Ok, found it. Guess you gave me the right push - thanks:

 While my subclasses did extend the IsSerializable interface, the
superclass
 didn't. Never the less... funny effect ;-)

 --
 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-java@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.


-- 
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-java@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] how to override Jetty default servlet

2011-05-27 Thread Steve
I have a Java servlet called Home that is mapped to /index.html.  I also 
have a file called index.html in the web folder. When the url /index.html is 
specified, the static file content is served instead of invoking the Home 
servlet. Jetty behaves this way but Tomcat works the other way and invokes 
the Home servlet.

What is a good way to make Jetty invoke the servlet instead?  I tried 
creating a new servlet mapped to / to override the default static 
servlet without any success.

-- 
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-java@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.