Re: [appengine-java] Necessity for Java graphics

2010-06-20 Thread Hariharan Anantharaman
Though not w.r.t GAE perspective, one problem i have experienced with jFree chart is their heavy memory usage when creating complex charts (due to its dependency on AWT). Perhaps its time to develop a better java charting API. The architecture and cloud approach of Amazon Ec2 and GAE are completel

Re: [appengine-java] fileOutputStream is not supported by google app engine Options

2010-06-21 Thread Hariharan Anantharaman
GAE does not allow writing to a file or spanning threads. Its mentioned in the documentation. Thanks hari On Mon, Jun 21, 2010 at 5:22 PM, Lu wrote: > Hi, > > I am trying to use FileOutputStream to print out results into a file, > but it is not supported by google app engine. > > If I want to t

[appengine-java] Parent child joins in JDO queries

2010-06-21 Thread Hariharan Anantharaman
Hi, As per documentation, JDO does not support join queries over parent and child entities(tables) in datastore. Are there any work arounds to achieve the same? Is this possible with JPA? Thanks Hariharan http://harianantha.in -- You received this message because you are subscribed to the Googl

Re: [appengine-java] JDO - simple update example

2010-06-23 Thread Hariharan Anantharaman
Hi ed, Hope you have taken care of txn management mentioned in the docs as well. If u can send dto and the code used to insert or get, that would be great. Atleast for a beginers perspective, I found the documentation in gae sufficient for my needs. ~hari On Jun 23, 2010 12:17 PM, "Ed" wrote:

Re: [appengine-java] Re: How to give path name to servlet from index.html of a Application

2011-04-18 Thread Hariharan Anantharaman
Hi ram, What is the fully constructed url the form isgetting submitted to(onsubmit goto a javascript function?there alert the url for debugging and then submit). In the form action tag, try giving the path to "./ServletCheck". Prefixing with "." Tries to look for resource in the same context. Tha

Re: [appengine-java] Re: Self join and group by

2011-08-02 Thread Hariharan Anantharaman
be 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. > -- Thanks and Regards Hariharan Anantharaman blog <http://www.harianantha.in/> -- You

Re: [appengine-java] Framworks

2011-08-09 Thread Hariharan Anantharaman
mail to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- Thanks and Regards Hariharan Anantharaman blog <http://www.harianantha.in/> -- You received this message because y

Re: [appengine-java] Entity class is not enhanced!!

2010-07-01 Thread Hariharan Anantharaman
Hi Marthen, I too faced similar problem. That time my data objects were in a java project while my jdo-config was in a web project( web project in-turn had project reference to this java project). The java project had app-engine jar's in its class path, but still enhancement did not happen when t

[appengine-java] Unable to Deploy to app engine with session enabled

2010-07-05 Thread Hariharan Anantharaman
Hi, I am using Appengine SDK 1.3.5 and Eclipse Ganymede version Version: 3.4.1. I am able to run my application in local server with *sessions-enabled *set as True. But with this setting, i am unable to deploy to google app engine(in eclipse select project-->Right click-->google-->Deploy to app

Re: [appengine-java] Re: generating sequence for persistence classes like Country and so on ...

2010-07-10 Thread Hariharan Anantharaman
In my application, instead of flatfile, i used XML to have the key and value (again these entries are used for drop down) and i read the values using xPath api's. Given that the country list is static as said before, i guess it should be work fine. Thanks Hari 2010/7/10 cscsaba > Hello, > > I

Re: [appengine-java] Re: jdo and pm.close()?

2010-07-12 Thread Hariharan Anantharaman
Even i was having the single instance of PersistenceManager in my application. I too had the code similar to the above mentioned way. In some perspective, the PersistenceManager can be considered similar to JDBC connection. So by basic programming concepts, i ended up creating only one(or perhaps

Re: [appengine-java] Re: generating sequence for persistence classes like Country and so on ...

2010-07-12 Thread Hariharan Anantharaman
case or the answer is trivial for others. > > > On júl. 11, 06:30, Hariharan Anantharaman > wrote: > > In my application, instead of flatfile, i used XML to have the key and > value > > (again these entries are used for drop down) and i read the values using > > xPa

Re: [appengine-java] Re: Problem persist JDO- one to many

2010-07-12 Thread Hariharan Anantharaman
Hi Lisan, In the Torneo class, i am not seeing "mappedBy" attribute for @persistent tage for field private List equiposTorneo; That is required to make this a owned one-many collection. Only then it might be possible to get collection of Equipo when retrieving Torneo . Thanks Hari 2010/7/

Re: [appengine-java] JCache

2010-07-19 Thread Hariharan Anantharaman
As long as the objects are serializable, I believe we can store them in jcache. ~hari On Jul 19, 2010 9:15 AM, "pdias" wrote: Is possible to save object instances using JCache? I have tried and received the following message: javax.servlet.ServletException: java.lang.IllegalArgumentException:

Re: [appengine-java] JDO creates entities when I don't ask it to

2010-07-19 Thread Hariharan Anantharaman
Where do u commit the transaction? I hope it is not after saving of A. Could you confirm if B and A are persisted and committed seperately and independent of each other. Thanks Hari On Jul 19, 2010 9:15 AM, "pbadn" wrote: I am having a problem that is confusing me. I have two entities, A and B

Re: [appengine-java] Updated Eclipse Plugin ?

2010-07-19 Thread Hariharan Anantharaman
>From your eclipse itself(having an older version of gae), you can update to latest version by using software updates option in elclipse. Thanks Hari On Jul 19, 2010 9:39 PM, "Navaneeth Krishnan" wrote: I tried out the latest version of the eclipse plugin for GAE http://code.google.com/appengi

Re: [appengine-java] Date, Calendar question (multiple instances of web application behaviour) clarification

2010-07-21 Thread Hariharan Anantharaman
Hi, Perhaps not directly related to your question. But java.util.Date is mostly deprecated and it is advised to use Calendar API. I believe that is synchronized. Thanks Hari 2010/7/22 Ikai L (Google) > It should just be whatever the date is on the current instance. In general, > do not ever r

Re: [appengine-java] JDO: child value won't be stored when it's persisted directly by referring as a element of list field of parent

2010-07-30 Thread Hariharan Anantharaman
Hi, Try using the method makePersistentAll. I too faced similar issue and using the all method worked fine. ~hari On Jul 31, 2010 6:07 AM, "Art" wrote: Dear group, I would like to know the reason why child value won't be stored when it's persisted directly by referring as a element of list fie

Re: [appengine-java] Invalidating users session

2010-08-07 Thread Hariharan Anantharaman
When i tried using session.Invalidate method, during logout, the logout time increased and the cpu consumption by logout was also high. I could not find reason behind it. Thanks Hari 2010/8/6 Ice13ill > This is more of a java servlet/session question, but it's also > referring AppEngine's user

Re: [appengine-java] i18n translations

2010-08-07 Thread Hariharan Anantharaman
I can help in publishing in Tamil. தமிழ் - tamil Thanks Hari 2010/8/5 ale > Hi everybody, > > I'm finishing to develop a web application with GWT + GAE, and I want > to publish in multiple languages. > > The application is about sport, and the message file is about 400 > lines mostly consist of

Re: [appengine-java] Problem integrating the App Engine with Eclipse

2010-08-23 Thread Hariharan Anantharaman
Hi, Check if you java jre path and app engine sdk path are correct in eclipse. ~hari On Aug 23, 2010 10:02 PM, "TacB0sS" wrote: Hey, I have tried to install the App Engine with both Eclipse 3.5 and 3.6, I've tried to download the EclipseEE + the plugins I wanted, which included the GWT 2.0.4 a

Re: [appengine-java] Re: time triggered tasks

2010-09-08 Thread Hariharan Anantharaman
Hi, Are you planning to have all users authenticated only using google accounts? If so, you can see if you can use google calendar. Just a thought. That might help you to acheieve few things out of box. ~hari On Sep 9, 2010 4:56 AM, "Marco Alves" wrote: Hi Didier. Thanks for your input. I was

Re: [appengine-java] JDO update only happens if Entity is 'accessed' before makePersistent

2010-09-29 Thread Hariharan Anantharaman
Strange. I remember reading that JDO does lazy loading. That means unless you access the same, the object data is not physically loaded. But isn't set enabled means accessing the object? ~hari On Sep 30, 2010 2:17 AM, "Chris" wrote: Hello. I have a strange issue where I occasionally fail to u

Re: [appengine-java] Object references imply ownership?

2010-10-04 Thread Hariharan Anantharaman
Hi, I have encountered similar error using JDO long time back. I firmly believe that if you use @ManyToOne or something it means a relationship amongst them. Though I don't remember exactly what I did ,Coupleof observations 1. In the rating class. Add annotation of rederenced by attribute in annot

Re: [appengine-java] Object references imply ownership?

2010-10-04 Thread Hariharan Anantharaman
ouraging endeavor, so far. Thanks for the feedback, Dave On 10/04/2010 11:56 PM, Hariharan Anantharaman wrote: > > Hi, > I have encountered similar error ... -- You received this message because you are subscribed to the Google Groups "Google App Engine fo... -- You received this

Re: [appengine-java] Processing large xml-files with JAXB in app engine

2010-12-21 Thread Hariharan Anantharaman
Hi, I have used xpath for xml processing in GAE and it worked well. Once you know how to query ,it works well. I guess it uses sax parsers. Thanks Hari On Dec 21, 2010 3:37 PM, "androidDeveloper" wrote: Hi all, I need to parse large xml files. My first try was using JAXB. It works ok for small

Re: [appengine-java] How do you prevent _ah requests from hitting the servlet filter?

2011-02-09 Thread Hariharan Anantharaman
Hi, In my app I have approached this problem in a different way without using filters. 1)I have a login servlet which checks for login and forwards to login page if user is not logged in. If the user is logged in ,it redirects to first page of app(different from index.html) 2)the index.html in my

Re: [appengine-java] How do you prevent _ah requests from hitting the servlet filter?

2011-02-10 Thread Hariharan Anantharaman
Hi, True. But In my app(www.book-a-friend.appspot.com), all my JSP pages are inside web-inf folder. So it might not be accessed directly as a file,but rather can be served only by servlets. Thanks Hari On Feb 11, 2011 1:07 AM, "Sekhar Ravinutala" wrote: Thanks Hari. If I understand you correctl