[appengine-java] Spring MVC

2012-01-18 Thread Paul Ford
Quick question:

If WAR's are deployed to GAE container and the JRE white list does not
contain the spring classes (or hibernate or whatever framework you
pick that is outside of JRE Whitelist), how do you incorporate spring
or whatever J2EE framework and it run in GAE?

Thanks

Paul

-- 
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] Spring MVC

2012-01-18 Thread Paul Ford
ok got it Matthew. I am a noob so excuse my ignorance, So you would apply
the spring jar as a library reference in your say eclipse project. Compile
your project war (which includes that spring jar) and deploy to GAE? If
correct would the spring jar then run in the JVM container?

I'm sure I'm getting my lines crossed here, so your response and patience
is appreciated.

Thanks again.

BTW - From Swindon originally, but live in Chicago now. Where are you
situated?


On Wed, Jan 18, 2012 at 3:23 PM, Matthew Jaggard wrote:

> The whitelist only details JVM classes that are allowed. You can including
> classes with your project as much as you like (as long as they don't depend
> on the missing JVM classes) so to use Spring, you have to include the
> spring jar file(s).
>
> Mat.
> On 18 Jan 2012 20:33, "Paul Ford"  wrote:
>
>> Quick question:
>>
>> If WAR's are deployed to GAE container and the JRE white list does not
>> contain the spring classes (or hibernate or whatever framework you
>> pick that is outside of JRE Whitelist), how do you incorporate spring
>> or whatever J2EE framework and it run in GAE?
>>
>> Thanks
>>
>> Paul
>>
>> --
>> 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.
>



-- 
Regards

Paul

*Paul W. Ford │ Principal*
Maven Wave Partners LLC
GTalk  +1.312.884.1051  M: +1.312.953.1664
paul.f...@mavenwave.com

Please check out our Fusion
Blog<http://www.mavenwave.com/news-and-views-mavenwave-blog/> for
more insights

-- 
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: play and Frontend Instace Hours

2012-01-24 Thread Paul Ford
This is only true if you have converted to a paid app instance. As far as I 
can tell from the following -  
http://code.google.com/appengine/docs/billing.html

Developers can consume a certain amount of resources for free and it is 
only upon conversion to a paid instance that you start to pay the prices 
listed in the enclosed url. i.e. the $0.08 for Frontend, etc;

Hope this helps

regards

paul

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/7kECC9Eh4Y8J.
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] BaseFeed versus DocumentListFeed

2012-01-31 Thread Paul Ford
ok guys could not find a google docs api group so posting this here.

I'm trying to list out all documents within a domain companyabc.com.

If I use DocumentListFeed I get a 100 docs. If I use the same exact
code and use BaseFeed instead I get all docs 1080 returned.

Why?

I understand BaseFeed is an abstract of DocumentListFeed and have read
the javadoc. But in plain english what is basefeed giving me that
documentlistfeed does not?

I thought that documentlistfeed may only be returning my 'google docs'
and basefeed everything (i.e. pdfs, docx, etc;) but that is not the
case.

DocumentListFeed also is by authenticated user. I'm using the same
request and access tokens and just changing the class type when the
above results are seen.

Thoughts?

Your urgently

paul

-- 
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] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Paul Ford
Hey Lisa as far as I can tell Hibernate is not supported by GAE. This is
documented on the GAE Java Whitelist.

Furthermore, JPA and JDO are supported so this should provide all the ORM
you need.

regards

paul

On Tue, Feb 14, 2012 at 5:33 AM, lisandrodc  wrote:

> Does someone know a simple example application GAE with
> Hibernate and Cloud SQL?
> Supposedly Cloud SQL support.
> (Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
> in
> Server)
> The link:
> https://developers.google.com/cloud-sql/
> It does not mention anything with regard to Hibernate.
> Thanks and regards
>
> --
> 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.
>
>


-- 
Regards

Paul

*Paul W. Ford │ Principal*
Maven Wave Partners LLC
GTalk  +1.312.884.1051  M: +1.312.953.1664
paul.f...@mavenwave.com

Please check out our Fusion
Blog for
more insights

-- 
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] GAE + Cloud SQL + Hibernate

2012-02-14 Thread Paul Ford
Ikai,

This is great so Hibernate on GAE works for Cloud SQL but not Datastore. I
understand.

Thanks

paul

On Tue, Feb 14, 2012 at 11:57 AM, Ikai Lan (Google) wrote:

> Hibernate works. I've gotten Cloud SQL to work with Hibernate ... the
> article has just been pending for some time now. You just want to turn off
> connection pooling and use AppEngineDriver where a SQL Driver is expected.
> Example configuration XML:
>
> *
> "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
> "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd";>
>
> 
>
>
>
>
>  name="connection.driver_class">com.google.appengine.api.rdbms.AppEngineDriver
> jdbc:google:rdbms://
> YOUR_CLOUD_SQL_INSTANCE_ID/guestbook
>
>
> 1
>
>
>  name="dialect">org.hibernate.dialect.MySQLDialect
>
>
>  name="cache.provider_class">org.hibernate.cache.NoCacheProvider
>
>
> true
>
> 
>    update
>
>
>
>
>
> *
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com
>
>
>
> On Tue, Feb 14, 2012 at 9:08 AM, Paul Ford wrote:
>
>> Hey Lisa as far as I can tell Hibernate is not supported by GAE. This is
>> documented on the GAE Java Whitelist.
>>
>> Furthermore, JPA and JDO are supported so this should provide all the ORM
>> you need.
>>
>> regards
>>
>> paul
>>
>>
>> On Tue, Feb 14, 2012 at 5:33 AM, lisandrodc  wrote:
>>
>>> Does someone know a simple example application GAE with
>>> Hibernate and Cloud SQL?
>>> Supposedly Cloud SQL support.
>>> (Forming:hibernate.cfg.xml, working with MySQL locally or Cloud SQL
>>> in
>>> Server)
>>> The link:
>>> https://developers.google.com/cloud-sql/
>>> It does not mention anything with regard to Hibernate.
>>> Thanks and regards
>>>
>>> --
>>> 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.
>>>
>>>
>>
>>
>> --
>> Regards
>>
>> Paul
>>
>> *Paul W. Ford │ Principal*
>> Maven Wave Partners LLC
>> GTalk  +1.312.884.1051  M: +1.312.953.1664
>> paul.f...@mavenwave.com
>>
>> Please check out our Fusion 
>> Blog<http://www.mavenwave.com/news-and-views-mavenwave-blog/> for
>> more insights
>>
>>  --
>> 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.
>



-- 
Regards

Paul

*Paul W. Ford │ Principal*
Maven Wave Partners LLC
GTalk  +1.312.884.1051  M: +1.312.953.1664
paul.f...@mavenwave.com

Please check out our Fusion
Blog<http://www.mavenwave.com/news-and-views-mavenwave-blog/> for
more insights

-- 
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] Enhancing class issue using GAEJ+Spring+JPA+Cloud SQL

2012-03-01 Thread Paul Ford
I got the same error and resolved it. I have to dig up my old code tonight
and research will let you know

On Thu, Mar 1, 2012 at 5:18 AM, Vasu  wrote:

> Hi All,
>
> I am developing an application using GAE+Java+Spring+JPA+Google CLoud SQL.
> When i retrieve the data from Database i'm getting the below error.
> *org.datanucleus.exceptions.NucleusUserException: Found Meta-Data for
> class  but this class is not enhanced!! Please enhance the
> class before running DataNucleus.*
> *
> *
> Could anyone please help me to resolve the above issue.
>
> Following is my persistence.xml file:
>
> 
> http://java.sun.com/xml/ns/persistence";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
> version="1.0">
>
> 
> org.datanucleus.api.jpa.PersistenceProviderImpl
> 
> 
> 
>  value="com.google.appengine.api.rdbms.AppEngineDriver" />
>  value="jdbc:google:rdbms://INSTACE-NAME/DATABASE_NAME" />
>
> 
> 
> 
> 
> 
> 
>
> 
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/FLQURh227rEJ.
> 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.
>



-- 
Regards

Paul

*Paul W. Ford │ Principal*
Maven Wave Partners LLC
GTalk  +1.312.884.1051  M: +1.312.953.1664
paul.f...@mavenwave.com

Please check out our Fusion
Blog for
more insights

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