[appengine-java] Re: Set the Timezone

2009-12-25 Thread George Moschovitis
  Is there a way to set the timezone for my application?

 TimeZone.setDefault(TimeZone.getTimeZone(GMT-8:00));

Have you actually *tested* this on App Engine?
This should be inserted in the servlet initialization code?

thank you,
-g.



 If you use JSTL, try the following setup in web.xml:
 context-param
     param-namejavax.servlet.jsp.jstl.fmt.timeZone/param-name
     param-valueGMT-8:00/param-value
 /context-param

 You can change GMT-8:00 as you want.

 Hope this helps,

 Yasuo Higa

--

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: Set the Timezone

2009-12-25 Thread Yasuo Higa
Hi George,

  Is there a way to set the timezone for my application?

 TimeZone.setDefault(TimeZone.getTimeZone(GMT-8:00));

 Have you actually *tested* this on App Engine?

Yes.

 This should be inserted in the servlet initialization code?

You can insert the code when the servlet initializes as follows:
@Override
public void init() throws ServletException {
TimeZone.setDefault(TimeZone.getTimeZone(GMT-8:00));
}

When I reply something, I always try it.

Hope this helps,

Yasuo Higa

--

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] Data Nucleus Enhancer Exception

2009-12-25 Thread Vik
Hie

While trying to do executeQuery  i get the follow exception:

SEVERE: Exception is :Persistent class Class
vik.sakshum.sakshumweb.server.model.jdo.Subscribe does not seem to have been
enhanced.  You may want to rerun the enhancer and check for errors in the
output. has no table in the database, but the operation requires it. Please
check the specification of the MetaData for this class.
javax.jdo.JDOUserException: Persistent class Class
vik.sakshum.sakshumweb.server.model.jdo.Subscribe does not seem to have been
enhanced.  You may want to rerun the enhancer and check for errors in the
output. has no table in the database, but the operation requires it. Please
check the specification of the MetaData for this class.
 at
org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:375)
at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:230)
 at
vik.sakshum.sakshumweb.server.model.DoSubscribe.execute(DoSubscribe.java:35)
at
vik.sakshum.sakshumweb.server.SubscribeModule$1$2.buttonClick(SubscribeModule.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
 at
com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java:100)
at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:487)
 at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1105)
 at com.vaadin.ui.Button.fireClick(Button.java:341)
at com.vaadin.ui.Button.changeVariables(Button.java:177)
 at
com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1058)
at
com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:559)
 at
com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:260)
at
com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:438)
 at
com.vaadin.terminal.gwt.server.GAEApplicationServlet.service(GAEApplicationServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
 at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:51)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:352)
 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
 at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
NestedThrowablesStackTrace:
Persistent class Class vik.sakshum.sakshumweb.server.model.jdo.Subscribe
does not seem to have been enhanced.  You may want to rerun the enhancer and
check for errors in the output. has no table in the database, but the
operation requires it. Please check the specification of the MetaData for
this class.
org.datanucleus.store.exceptions.NoTableManagedException: Persistent class
Class vik.sakshum.sakshumweb.server.model.jdo.Subscribe does not seem to
have been enhanced.  You may want to rerun the enhancer and check 

[appengine-java] Re: blobstore lucene search index

2009-12-25 Thread Toby
Hallo Jacek,

Thank you for your mail. Can you give a bit more details about that
search engine that you implemented?
I would like to use lucene because I like to use their analyzers and
things like levenshtein distance result ordering etc.
Currently I use the compass-lucen framework that comes with a special
adapter to store the index in the datastore:
http://www.kimchy.org/searchable-google-appengine-with-compass/
I wonder if now the blob-store could be a better way to achieve the
same goal.

Cheers,
Tobi


On Dec 23, 3:18 pm, jacek.ambroziak jacek.ambroz...@gmail.com
wrote:
 I have been using a search engine of my own design.
 I had first to adapt it to GAE by generalizing the index
 storage mechanism so that it can be *implemented*
 using files (originally the only way) or with Datastore.
 It was a good couple of days of work but it is not hard.

 On Dec 22, 6:33 pm, Toby tobias.ro...@sunnymail.mobi wrote:

  Hello,

  I think a sophisticated search api is what a lot of us are missing. I
  use currently the compass-lucene project but I am not completely
  satisfied with the performance. I think there is also the GAELucene
  project that uses a similar aproach.
  I guess the main issue was so far that you could not write the index
  files to a regular file system. I wonder if the new blob-store API
  could solve that issue and if anyone has done some experimentation
  with it.

  Cheers,
  Tobi



--

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: GAE roadmap for 2010

2009-12-25 Thread Toby
Hello,

Some visibility on the roadmap would be great. I think in the last
month GAE has already improved a lot. There are quite some open issues
that are often listed against the use of GAE. I believe if we knew
that they will be addressed at some point in time it might help.
Personally I see two major things for my applications:
- improve spin up or keep alive option
- full fledged search
I guess a good MVC framework and better Spring integration would be
great as well.

Cheers,

Tobias

On Dec 25, 5:09 am, Antoine Sabot-durand anto...@sabot-durand.net
wrote:
 As i s'aider in m'y post this doc is not a roadmap : it stops in
 december 2009. Nothing in 2010. Is Thérèse an update on thé way ?

 On 22 déc, 23:23, Ikai L (Google) ika...@google.com wrote:

  The roadmap that is up right now represents our six month 
  goals:http://code.google.com/appengine/docs/roadmap.html

  Beyond that, we do not even have much visibility ourselves into what we are
  going to work on, but as soon as we have set high level objectives, we'll
  communicate them with our developers. This is one of the reasons we ask
  everybody to create and star 
  issues:http://code.google.com/p/googleappengine/issues/list

  On Tue, Dec 22, 2009 at 8:32 AM, Muz murray.bo...@gmail.com wrote:
   I second this request for 2010 roadmap visibility.

   I'm especially curious if there will be any definite plan to support
   multi-tenancy on GAE (beyond the current odd workaround/exception
   mechanisms). We have requirements for several of these to get started
   in Q2. Google seems to be the only cloud player to not have a long-
   term model for this yet.

   M

   On 20 Dec, 02:54, Antoine Sabot-durand anto...@sabot-durand.net
   wrote:
Hi,

I found the roadmap for 2009 but is there one for 2010 ? I'd like to
propose my company to start developement on GAE but the lack of
visibility on the platform is an issue. Will you support some of the
JEE6 new standard (JSF 2, CDI, JPA 2, EJB 3.1 ?). Is the imageio issue
with the JSF richfaces library will be corrected ?
I saw a lot of question in the forum but few answer (or wasn't able to
find them).
Thanks for your answers.

Antoine

   --

   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%2B
unsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-appengine-java?hl=en.

  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine



--

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: blobstore lucene search index

2009-12-25 Thread jacek.ambroziak
My search engine is a full-text proximity based engine
which you can check out in action in an Android add called NewsDroid.
The indexer part indexes Reuters News semi-continuously
and a user searching on Android will be shown query hits
in matching news where as many keywords as possible
were found together.

This is, btw, an XML search engine -- in addition to keywords
you need to specify in which elements to search for
text passages. I am currently working on another
application of the engine, beyond news.

The original version of the search engine used a number
of files to store indexes. As I ported the system to GAE
I had to figure out ways to store and use indexes
stored as blobs in the Datastore.
Basically, any file can be split into chunks of up to 1,000,000 bytes.

Things work OK, but not great on GAE. Loading indexes
into memory is taking time when servlets are restarted.


On Dec 25, 7:51 am, Toby tobias.ro...@sunnymail.mobi wrote:
 Hallo Jacek,

 Thank you for your mail. Can you give a bit more details about that
 search engine that you implemented?
 I would like to use lucene because I like to use their analyzers and
 things like levenshtein distance result ordering etc.
 Currently I use the compass-lucen framework that comes with a special
 adapter to store the index in the 
 datastore:http://www.kimchy.org/searchable-google-appengine-with-compass/
 I wonder if now the blob-store could be a better way to achieve the
 same goal.

 Cheers,
 Tobi

 On Dec 23, 3:18 pm, jacek.ambroziak jacek.ambroz...@gmail.com
 wrote:



  I have been using a search engine of my own design.
  I had first to adapt it to GAE by generalizing the index
  storage mechanism so that it can be *implemented*
  using files (originally the only way) or with Datastore.
  It was a good couple of days of work but it is not hard.

  On Dec 22, 6:33 pm, Toby tobias.ro...@sunnymail.mobi wrote:

   Hello,

   I think a sophisticated search api is what a lot of us are missing. I
   use currently the compass-lucene project but I am not completely
   satisfied with the performance. I think there is also the GAELucene
   project that uses a similar aproach.
   I guess the main issue was so far that you could not write the index
   files to a regular file system. I wonder if the new blob-store API
   could solve that issue and if anyone has done some experimentation
   with it.

   Cheers,
   Tobi

--

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: blobstore lucene search index

2009-12-25 Thread jacek.ambroziak
My search engine is a full-text proximity based engine
which you can check out in action in an Android add called NewsDroid.
The indexer part indexes Reuters News semi-continuously
and a user searching on Android will be shown query hits
in matching news where as many keywords as possible
were found together.

This is, btw, an XML search engine -- in addition to keywords
you need to specify in which elements to search for
text passages. I am currently working on another
application of the engine, beyond news.

The original version of the search engine used a number
of files to store indexes. As I ported the system to GAE
I had to figure out ways to store and use indexes
stored as blobs in the Datastore.
Basically, any file can be split into chunks of up to 1,000,000 bytes.

Things work OK, but not great on GAE. Loading indexes
into memory is taking time when servlets are restarted.


On Dec 25, 7:51 am, Toby tobias.ro...@sunnymail.mobi wrote:
 Hallo Jacek,

 Thank you for your mail. Can you give a bit more details about that
 search engine that you implemented?
 I would like to use lucene because I like to use their analyzers and
 things like levenshtein distance result ordering etc.
 Currently I use the compass-lucen framework that comes with a special
 adapter to store the index in the 
 datastore:http://www.kimchy.org/searchable-google-appengine-with-compass/
 I wonder if now the blob-store could be a better way to achieve the
 same goal.

 Cheers,
 Tobi

 On Dec 23, 3:18 pm, jacek.ambroziak jacek.ambroz...@gmail.com
 wrote:



  I have been using a search engine of my own design.
  I had first to adapt it to GAE by generalizing the index
  storage mechanism so that it can be *implemented*
  using files (originally the only way) or with Datastore.
  It was a good couple of days of work but it is not hard.

  On Dec 22, 6:33 pm, Toby tobias.ro...@sunnymail.mobi wrote:

   Hello,

   I think a sophisticated search api is what a lot of us are missing. I
   use currently the compass-lucene project but I am not completely
   satisfied with the performance. I think there is also the GAELucene
   project that uses a similar aproach.
   I guess the main issue was so far that you could not write the index
   files to a regular file system. I wonder if the new blob-store API
   could solve that issue and if anyone has done some experimentation
   with it.

   Cheers,
   Tobi

--

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] java.util.Timer is in the white list but you can't use it

2009-12-25 Thread Alexander Arendar
Hi ppl,

please explain me. Maybe I'm kinda stupid but we have java.util.Timer
class in the white list.
But actually you can't use this class since GAE forbids threads
instantiation.
Now a simple straightforward question: why the heck the class is in
the whitelist? Just for fun?

Regards,
Alex

--

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] guestbook problem...

2009-12-25 Thread kamaljeetsingh sandhu
Hi,
I am new to this group and to googleapp also.. i tried it turorial of
Guestbook.. It is running sucessfully in the eclipse rather its output is
not coming .. as i open the localhost but the page is not appearing...Please
help me out 

--

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] Can we deploy Axis WebServices on Google App Engine

2009-12-25 Thread Bhanu Prakash
Can we deploy Axis webservices on Google App Engine?

I'm getting below exeception when I'm tesing in my developement
environment the URL :

http://localhost:8080/services/Version?wsdl

Sorry, something seems to have gone wrong... here are the details:

Fault - ; nested exception is:
java.security.AccessControlException: access denied
(java.io.FilePermission C:\Softwares\jdk1.6.0\jre\lib\wsdl.properties
read)
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
 faultSubcode:
 faultString: java.security.AccessControlException: access denied
(java.io.FilePermission C:\Softwares\jdk1.6.0\jre\lib\wsdl.properties
read)
 faultActor:
 faultNode:
 faultDetail:
{http://xml.apache.org/axis/}hostname:localhost



--

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] mail message

2009-12-25 Thread venkat satyanarayana
Hi , i ma tring to send mail  with google app engine with java

my code :

Properties props = new Properties();
Session session = Session.getDefaultInstance(props, null);

String msgBody = test;

try {
Message msg = new MimeMessage(session);
try {
msg.setFrom(new 
InternetAddress(nidadavolu.ven...@gmail.com,
Example.com Admin));
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
try {
msg.addRecipient(Message.RecipientType.TO,
 new 
InternetAddress(nidadavolu.ven...@gmail.com
, Mr. User));
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
msg.setSubject(Your Example.com account has been
activated);
msg.setText(msgBody);
Transport.send(msg);

} catch (AddressException e) {
// ...
} catch (MessagingException e) {
// ...
}

but  i didn't get any error , but we are not receaving  mail


thanks

--

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] JDK 1.7 in Google App Engine (GAE)

2009-12-25 Thread limcheekin
Hi,

May I know is there any plan or timeline for GAE to support JDK 1.7?

Thank you.

Chee Kin

--

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: problem in retrieving arraylist from database

2009-12-25 Thread giri
use this
 @Persistent(defaultFetchGroup=true)
 ArrayListString listval= new ArrayListString();
i guess this ll solve ur problem  try u read about fetchgroup for a
better understanding

--

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] Eclipse AppEngine Plugin

2009-12-25 Thread Ambiency
I have recently  upgraded eclipse to Galileo. Previously, with
Ganymede, I had no problems running an app locally using the Google
Appengine plugin. I now cannot run Appengine code (run as ...Google
Web App). I get an exception
'javax.xml.parsers.FactoryConfigurationError: Provider
oracle.xml.jaxp.JXDocumentBuilderFactory not found'

I have now also tried running my Ganymede installation and that falls
over during a build with the same message.

Could this be related to the Eclipse upgrade?

Regards

Kevin

--

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] Clear particular session manually

2009-12-25 Thread David
I need to clear a session manually from a servlet which has only the
id of the session which needs to be cleared (long story short this is
to overcome some limitation with flash not supporting cookies).

I need to delete both the session from datastore and memcache.

How can this be done ? (is the name of the entity in _ah_session table
the id of the session ? )
What is the key of the particular session for memcache ? can it be
derived from the session id ?

--

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: mail message

2009-12-25 Thread m seleron
Hi,
I tested the source code that you had contributed.
It seems to operate normally.

I think that the setting or the environment in the mail address is a
cause.

Follow this thread:
http://groups.google.com/group/google-appengine/browse_thread/thread/fdfdafa51ef140fc/97d7c0492c2270bb?lnk=gstq=seleronm#97d7c0492c2270bb

Please Try.
thanks.


On 12月24日, 午後4:34, venkat satyanarayana nidadavolu.ven...@gmail.com
wrote:
 Hi , i ma tring to send mail  with google app engine with java

 my code :

 Properties props = new Properties();
         Session session = Session.getDefaultInstance(props, null);

         String msgBody = test;

         try {
             Message msg = new MimeMessage(session);
             try {
                                 msg.setFrom(new 
 InternetAddress(nidadavolu.ven...@gmail.com,
 Example.com Admin));
                         } catch (UnsupportedEncodingException e) {
                                 // TODO Auto-generated catch block
                                 e.printStackTrace();
                         }
             try {
                                 msg.addRecipient(Message.RecipientType.TO,
                                                  new 
 InternetAddress(nidadavolu.ven...@gmail.com
 , Mr. User));
                         } catch (UnsupportedEncodingException e) {
                                 // TODO Auto-generated catch block
                                 e.printStackTrace();
                         }
             msg.setSubject(Your Example.com account has been
 activated);
             msg.setText(msgBody);
             Transport.send(msg);

         } catch (AddressException e) {
             // ...
         } catch (MessagingException e) {
             // ...
         }

 but  i didn't get any error , but we are not receaving  mail

 thanks

--

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] Relational Table using JDO

2009-12-25 Thread Michael Chan
You can do some sort of relational mappings between entities but not to the
full extend like RDBMS.

Have you worked through the examples in
http://code.google.com/appengine/docs/java/datastore/ yet?



On Fri, Dec 25, 2009 at 9:36 PM, TiagoP pix...@gmail.com wrote:

 Hi all,

 I have a simple doubt that I would like to see explained.

 I know a bit of relational databases but I don't understand how I can
 do the same using JDO.

 As for example, I have a table users-plans which combines the table
 user to the table plans. In table plans I have all the plans and I
 just match it to the user in a middle table.

 Could someone explain how this would work in GAE?

 Thanks and Merry Christmas!



 --

 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.





-- 
Regards,

Michael Hoi Sang Chan

MSc Advanced Software Engineering
Department of Computer Science
King's College London
Strand, LONDON
WC2R 2LS

Tel: +447881900965

--

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.