Re: [appengine-java] Run App Engine on a production intranet

2010-04-16 Thread Alessandro Barbosa
Hi

I would suggest you run your application in some load test tool like Apache
JMeter to see how the development environment run working as a production
environment.

Best Regards,
Alessandro

2010/4/15 Harry Monroe 

> Hi,
>
> I know this is not the point on Google App Engine, but I´ve come
> across this problem.
> We have a running app online that satisfies many customers, but one of
> them (there´s always one) would like to run it somehow "offline"...
>
> Does anyone have used the developement server to run a production
> application.
> Is there a list of limits on that server? Maybe the datastore has a
> limit or you can only have one concurrent connection, maybe some
> session limits...
> I would like to have all those facts to discourage them.
>
> Thanks 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-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.
>
>

-- 
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] How to send data back to client side code?

2010-08-13 Thread Alessandro Barbosa
Hi,

this is a GWT issue. The model class Employee must implements
the com.google.gwt.user.client.rpc.IsSerializable interface in order to be
able to be transcripted between server and client.

Best Regards,
Alessandro

2010/8/13 Sree ... 

> Am not sure this belongs to GWT or GAE or both ...
>
> So here's my problem...
>
> I have one client/Example.java [contains all GWT code] calls a methods on
> server/SomeServiceImpl.java [Contains code to talk to dataStore]
>
> Wat server/SomeServiceImpl.java does is Featch data from Employee.Java
>   [this is class used to store data in datastore JPA]
>
> So now my problem is.. as long as I send data in the form of String or
> StringArray to client/Example.java am fine, but now I tried to send
> List to client/Example.java
>
> Doing so throws me an error as below..
>
> Validating newly compiled units
>   [ERROR] Errors in
> 'file:/C:/XXX/XXX/src/xxx/client/GreetingServiceAsync.java'
>  [ERROR] Line 18: No source code is available for type
> xxx.server.Employee; did you forget to inherit a required module?
>   [ERROR] Errors in 'file:/C:/XXX/XXX/src/client/Example.java'
>  [ERROR] Line 325: No source code is available for type
> xxx.server.Employee; did you forget to inherit a required module?
>   [ERROR] Errors in 'file:/C:/XXX/XXX/src/client/GreetingService.java'
>  [ERROR] Line 19: No source code is available for type
> xxx.server.Employee; did you forget to inherit a required module?
>Finding entry point classes
>   [ERROR] Unable to find type 'xxx.client.Example'
>  [ERROR] Hint: Previous compiler errors may have made this type
> unavailable
>  [ERROR] Hint: Check the inheritance chain from your module; it may
> not be inheriting a required module or a module may not be adding its source
> path entries properly
>
>
>
> --
> -Thanks
> -Srikanth.G
> -Hyderabad
>
> --
> 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.
>

-- 
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] How to send data back to client side code?

2010-08-13 Thread Alessandro Barbosa
Ok,

try this, move your class to some place inside /src/client and implement
IsSerializable.
I hope this be enough to solve the problem.


import ContactInfo;
// ... imports ...

@PersistenceCapable
public class Employee *implements
com.google.gwt.user.client.rpc.IsSerializable*{
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;

@Persistent
private ContactInfo myContactInfo;

// ... accessors ...
}

Best Regards,
Alessandro
2010/8/13 Sree ... 

> Yes.. after some google search i came to know abt that only
>
> http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Serializable_Objects
>
>
> <http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Serializable_Objects>But
> am poor little developer so can you please help me out with a small example
> say my class looks like 
> this<http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Child_Objects_and_Relationships>
>
> On Sat, Aug 14, 2010 at 1:35 AM, Alessandro Barbosa <
> alessandro.barb...@gmail.com> wrote:
>
>> Hi,
>>
>> this is a GWT issue. The model class Employee must implements
>> the com.google.gwt.user.client.rpc.IsSerializable interface in order to be
>> able to be transcripted between server and client.
>>
>> Best Regards,
>> Alessandro
>>
>> 2010/8/13 Sree ... 
>>
>>>  Am not sure this belongs to GWT or GAE or both ...
>>>
>>> So here's my problem...
>>>
>>> I have one client/Example.java [contains all GWT code] calls a methods on
>>> server/SomeServiceImpl.java [Contains code to talk to dataStore]
>>>
>>> Wat server/SomeServiceImpl.java does is Featch data from Employee.Java
>>>   [this is class used to store data in datastore JPA]
>>>
>>> So now my problem is.. as long as I send data in the form of String or
>>> StringArray to client/Example.java am fine, but now I tried to send
>>> List to client/Example.java
>>>
>>> Doing so throws me an error as below..
>>>
>>> Validating newly compiled units
>>>   [ERROR] Errors in
>>> 'file:/C:/XXX/XXX/src/xxx/client/GreetingServiceAsync.java'
>>>  [ERROR] Line 18: No source code is available for type
>>> xxx.server.Employee; did you forget to inherit a required module?
>>>   [ERROR] Errors in 'file:/C:/XXX/XXX/src/client/Example.java'
>>>  [ERROR] Line 325: No source code is available for type
>>> xxx.server.Employee; did you forget to inherit a required module?
>>>   [ERROR] Errors in
>>> 'file:/C:/XXX/XXX/src/client/GreetingService.java'
>>>  [ERROR] Line 19: No source code is available for type
>>> xxx.server.Employee; did you forget to inherit a required module?
>>>Finding entry point classes
>>>   [ERROR] Unable to find type 'xxx.client.Example'
>>>  [ERROR] Hint: Previous compiler errors may have made this type
>>> unavailable
>>>  [ERROR] Hint: Check the inheritance chain from your module; it
>>> may not be inheriting a required module or a module may not be adding its
>>> source path entries properly
>>>
>>>
>>>
>>> --
>>> -Thanks
>>> -Srikanth.G
>>> -Hyderabad
>>>
>>> --
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>
>
> --
> -Thanks
> -Srikanth.G
> -Google India Ltd
> -Hyderabad
>
> --
> 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.
>

-- 
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] Spring or Struts with Google app engine.Is it feasible to use any of these?

2011-10-13 Thread Alessandro Barbosa
Hi,

both frameworks are compatible with GAE for Java, (Struts 2 with some
workarounds, not much complex). I suggest you to use the framework with
which you are accustomed. I have ever used Struts 2, Spring and now I am
using GWT (ultimately I have preferred this one), all of them were pretty
straightforward to develop.

Regards,
Alessandro Barbosa

2011/10/13 sagar misal 

> Hello everyone,
>I have developed and deployed an application using GAE java and
> now looking forward to develop another one using the same but with
> Struts or Spring framework,can anyone suggest me where to start and
> whether it is feasible to do this?Or should i follow general way of
> developing GAE java project ?
>
> Thanks and Regards
>  Sagar Misal
>
> --
> 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.