Hi,
Now I've launched an application toolkit for Google App Engine Java
platform, "Gig".
http://code.google.com/p/gig/
It includes full-stack application framework and development tools
built as Eclipse plugin.
How about this?
Eiichiro
On Dec 29 2010, 11:08 pm, Sree wrote:
> Hello,
>
> I am n
Hello, I'm doing a project where in the interface shows a listBox that
includes the names of some books, the thing is that you must choose
one and you will look wether in pdf or txt. My problem is that when
changing the listbox, itll show the just last book you chose, rather
the current one.
heres
This is not the most elegant or efficient way to do things but here is
something to make your code work.
public Torneo devolverTorneo(Long idTorneo) {
Torneo dbTorneo = pm.getObjectById(Torneo.class, idTorneo);
// detach a copy of the persistent object
retur
Thanks!
> Your question is important when high activity happens to your
> application and many jvm instances are started: you cannot rely on
> static fields to store shared values across the entire application as
> they are locally initialized in each instance.
I am aware of that. I use static st
Thanks Stevko, but I have a problem with the persistence of an
existing object
"Torneo" (with a empty collection of objects "Equipo").
When I add elements to the collection and want to persist,
sometimes persist and sometimes not persist in the
datastore(Restarting the server of the application).
Hello Yoann,
Please check out the section titled "Dependent Children and Cascading
Deletes" at
http://code.google.com/appengine/docs/java/datastore/relationships.html
Add the annotation
@Persistent(dependent = "true")
to make the tie the POJOLocation life cycle to the parent.
On Mon, Jan
Yes it is detachable.
So you need to detach & re-attach the object using the code samples in
http://www.jpox.org/docs/1_2/jdo/attach_detach.html
On Mon, Jan 3, 2011 at 5:44 AM, lisandrodc wrote:
> Hi Stevko! The class "Torneo", it's definite:
>
>
> @PersistenceCapable(identityType=IdentityType.
Hi,
You are right: each class and static block, field is initialized or
run only when needed by the jvm instance according the usual rules of
class loading in Java
Your question is important when high activity happens to your
application and many jvm instances are started: you cannot rely on
stat
Accoring to this:
http://code.google.com/intl/uk-UA/appengine/docs/adminconsole/instances.html#Loading_Requests
during a loading request JVM loads only classes required to handle
this request.
i.e. if I have class A and the loading servlet class(which is invoked
during a loading request) doesn't ha
URLFetch service may help to call servelet / RPC service.
On Jan 3, 8:06 am, dreamer wrote:
> Thank you. Yep, you are right, we may some thing like servlet / RPC
> service which can be called out app. not RPC serviced is invokable
> outside app, but more efficient.
>
> Like is good one, I am look
Tag files is another option. Here's a simple layout tag file:
mainlayout.tag:
<%@ tag pageEncoding="UTF-8" %>
header
footer
And here's a view:
startpage.jsp:
<%@ taglib prefix="layout" tagdir="/WEB-INF/tags"%>
the content of the start page
Place the tag file in war/WEB-INF/tags
Thank you. Yep, you are right, we may some thing like servlet / RPC
service which can be called out app. not RPC serviced is invokable
outside app, but more efficient.
Like is good one, I am looking for such explanation abt bigtable for
some time.
On Jan 2, 12:45 am, Didier Durand wrote:
> Hi,
We are using Struts 2 in a couple of projects (e.g. http://www.kanalnio.se).
With a couple of tweaks (getting rid of struts.xml url mapping, using Guice
for dependency injection) it actually works quite smoothly.
I've also tried Play Framework and it's really easy to start with and
straightfor
I followed the instructions at:
http://googlecode.blogspot.com/2010/05/google-app-engine-basic-text-search.html
but search is only working for exact matches in the column, not partial
strings. Here is my code:
String querystring = request.getParameter("querystring");
querystring = ( queryst
http://vosao.org/ are using Apache Velocity, have no personal experience
with the framework (am not a gui developer) but it seems to work for them.
On Wed, Dec 29, 2010 at 4:08 PM, Sree wrote:
> Hello,
>
> I am new to Java and App Engine, and coming from ASP.NET C# and
> Windows Azure world. I
+2 Slim3 datastore rocks! pure apt generated code, zero reflexion
On Mon, Jan 3, 2011 at 9:36 AM, Roberto Saccon wrote:
> +1 on slim3, it is MVC optimized for appengine, datastore engine includes
> the latest 1.4.0 async stuff, has even built-in JSON support.
>
> http://sites.google.com/site/sli
Hi Stevko! The class "Torneo", it's definite:
@PersistenceCapable(identityType=IdentityType.APPLICATION,detachable="true")
public class Torneo implements Serializable {
/*
* @author Lisandro della Croce
*/
@PrimaryKey
@Persistent(valueStrategy = IdGenerat
+1 on slim3, it is MVC optimized for appengine, datastore engine includes
the latest 1.4.0 async stuff, has even built-in JSON support.
http://sites.google.com/site/slim3appengine/Home
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" gro
I found where problem is - gae doesn't support interface types in lists .
But the question wasn't about this... It was about how to identify cause
from that thin error message.
On Mon, Jan 3, 2011 at 2:55 PM, kartik kudada wrote:
> Hi ,
>
> Could you please share sample code .
>
> On Sun, Jan 2,
Hi ,
Could you please share sample code .
On Sun, Jan 2, 2011 at 2:10 PM, Didier Durand wrote:
> Hi,
>
> The cause of your issue is defined by the line "Caused by:
> javax.jdo.JDOException: Error creating the MetaDataManager for API
> "JDO""
>
> When you start googling this, you find quite a lo
I think the inconsistent saving that you are experiencing has to do with how
the parent object, Torneo, is being accessed.
You are passing an database object reference into a transaction.
Is that object "detachable" ?
If not, then you should be retrieving it and updating it within the same
transac
I answer to myself.
Before to do the setXXX(), I must delete the previous object.
Like this :
POJOUser user = pm.getObjectById(POJOUser.class, username);
pm.deletePersistent(user.getLastLocation());
user.setLastLocation(new POJOLocation(newLocation));
And now, it works. Moreover, old reference
Hi! I have a problem with the persistence of an existing object
"Torneo" (with a empty collection of objects "Equipo").
When I add elements to the collection and want to persist,
sometimes persist and sometimes not persist in the
datastore(Restarting the server of the application). The code of
exam
Hi,
Glad that it is now running! :)
On Jan 3, 11:30 am, Viskaya Purbowo H wrote:
> Hi again,
>
> the app now runs normally after the UserAccount class implements
> Serializable :)
> many thanks for your suggestions and attentions.
>
> regards,
>
> Vis'
--
You received this message because you
Hi again,
the app now runs normally after the UserAccount class implements
Serializable :)
many thanks for your suggestions and attentions.
regards,
Vis'
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, s
Hi,
It seems that you are trying to store an object of Class UserAccount.
To be stored in Google Engine Datastore, it needs to implement the
Serializable interface and it seems not to be the case.
Just add "implements Serializable" in the definition of your
UserAccount class and let us know
rega
Hi Didier,
thank you for your reply.
I thought the problem came out when i used spring annotation. I solved this
by wipe out the annotation. But i found new problem here :((.
I looked the log and found this message
java.lang.RuntimeException: java.io.NotSerializableException:
com.leklekan.ren
Hi,
Can you provide more details on what you are trying to achieve: it
seems that you are trying to launch the javac compiler via an Ant task
directly on the App Engine. Is that correct?
regards
didier
On Jan 3, 9:44 am, Sarun Intaralawan wrote:
> When I run the project I got:
>
> HTTP ERROR 50
Hi,
You have to check in the white list of JRE emulated classes if your
class is in http://code.google.com/appengine/docs/java/jrewhitelist.html.
it seems that javax.naming.NamingExcetion is not is this list.
So, to fix your error, you have to add a jar conataining this class
(...and hope that t
Hi all,
after i looked on application log, the error caused by
javax.servlet.UnavailableException:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.context.annotation.internalPersistenceAnnotationProcessor':
Initialization of bean fa
30 matches
Mail list logo