Re: What's the best/easiest way of doing server-side persistence with GWT?

2010-06-17 Thread kensai yanesha
Hi, could you release your GWT mysql project somewhere on the web.
Would be very helpful for me see real complete project of GWT and
database integration. I have to say, that in my case we plan to use
stored procedures only on the db side for access data.

thx.
kensai

On 21 kvě, 16:50, Robnauticus-  wrote:
> Hello,
> I have completed a GWT / Hibernate / gilead / mysql project. It was my
> first, the whole process was a large pain but mostly worth it still
> compared to DIY.
>
> My newer project is based on GWT / Oracle DB Java edition an object
> based db. It has been too easy so far... no translators, just one or
> two non intrusive annotations on my Entities and persistent classes.
> Plus it can outperform SQL in a lot of aspects.  Only thing that sucks
> is reporting.  Sql is much easier/robost for reporting solutions.
> Other than that, unless you were making a large shareddatabasethat
> has to be separate from the app, I would go without SQL.
>
> On May 19, 3:16 pm, Navigateur  wrote:
>
>
>
> > I haven't yet chosen a server or anything.
>
> > Is Gilead the best thing for persistence on the server side? Does the
> > choice of server make a difference for developing for persistence e.g.
> > AppEngine? GlassFish? Anything?
>
> > Sorry, these are relatively beginner questions - in case you say "it
> > depends on what you're doing" I'm making an app where I want object-
> > oriented persistence, quick error-free multi-user concurrent access to
> > that (object-oriented) datastore, and ease-of-development with code
> > that doesn't tie me down too strongly in case I want to switch
> > platforms.
>
> > Oh, and it should be in Java, like GWT is.
> > And besides, what are the full range of options for this?
>
> > Cheers! N
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



SmartGWT and Database integration example

2010-06-17 Thread kensai yanesha
Hello there,

could someone provide me with complete eclipse project where schould
be used rather SmartGWT then GWT gui components integrated with any
sql type database engine?

This will really help me.

Thank you.

Kensai

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT or SmartGWT and Oracle - Stored procedures

2010-06-17 Thread kensai yanesha
Well, I went trough many tutorials and howtos on internet. The one was
amazing and it solved all my needs. DataSource definition is in XML
and I can execute CRUD operations using storedc procedures on the
database side. I am talking about project SmartClient. One can define
DataSource using this way:









call 
spUpdateWSSWatchSources($values._watchID,
$wssSourceIDs)




This is very easy to write, but licence for one developer could be
very expensive, I think about almost 2000 dolars for the Power version
which supports the SQL templating, exactly putting into the XML
definiton of the datasource element 

I can forget buying this for this project, maybe in the future.

But what next? How to proceed with SmartGWT and SQL engine? Current
answer is using EoD SQL as ORM subsystem. There are some bad things
about loosing lazzy loading feature, etc., but in my case it seems to
be the best way now as you can see at:
http://lemnik.wordpress.com/2009/09/18/eod-sql-applied-%E2%80%93-part-5-5-gwt-applications/

Any your suggestion would be helpful.

Kensai

On 17 čvn, 09:32, kensai yanesha  wrote:
> The database could be any SQL engine, so the dataserver type schould
> be sql not hibernate.
>
> On 17 čvn, 06:18, kensai yanesha  wrote:
>
> > Hello,
>
> > I am new to GWT at all. My approach is to have an editable grid on the
> > client side and one or more tables on the database side (Oracle in my
> > case). Could someone post really working project with all files which
> > supports all 4 standard operations (select, insert, update, delete)?
> > In my case I want to do all these operations using stored procedures
> > to avoid SQL injection attacks.
>
> > Any external link or pure sample will help. I was not able to find any
> > complete project which is I think best to learn it as complex logic.
>
> > Thank you very much.
>
> > Kensai

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT, servlet, JSP and datastore

2010-06-17 Thread kensai yanesha
Tristan maybe you could help me, do you have any completed Eclipse
project with grid connected to database? I would thank you if you
could provide me such thing to learn more. I am on dead point. We will
use only stored procedures for communication with database and I am
not able to find any rich subject related to this over net.

Our application will run finally on intranet, so in our case there is
no possibility of using online google app engine, altough I already
tried to use it and it worked well.

Thank you


On 9 čvn, 18:32, Tristan Slominski 
wrote:
> @kensai
>
> If you look at Google App Engine, the datastore is part of Google's
> free-to-start cloud hosting service.
>
> On Wed, Jun 9, 2010 at 02:56, kensai yanesha wrote:
>
> > Hi Laurent,
>
> > I am also new to GWT, also fascinated :-). I also already went trough
> > samples and tutorials and well stopped at the point how to bind
> > components to, in my case, database table in Oracle database. I don't
> > know what do you mean exactly by "Google datastore" but I think you
> > mean the Datastore class in GWT framework.
>
> > Even GWT is very good for creating nice GUI on the client side, it's
> > object-relational mapping is still in incubation period and you
> > following options how to proceed:
> > 1.) You need to manually write the functions which manipulate with
> > data  on the server side and call it via AJAX (JavaScript) from the
> > client side when necessary.
> > 2.) Look at EoD SQL project athttp://eodsql.sourceforge.net/this
> > library may help you, there are also tutorials how to use it together
> > with GWT
> > 3.) This is the easiest, free for trial then payed, option. Use
> > SmartGWT Professional or Enterprise. Take a look at it
> >http://code.google.com/p/smartgwt/. It has integrated tomcat inside.
> > In the SDK there are lot of examples and tutorials, but also something
> > what you will find maybe really useful:
> > Datasource generator - generate XML DS descriptional file, works with
> > standard database engines, etc.
> > Visual designer - you can create client layouts in visual way, in this
> > tool you are also able to use for example Datagrid directly with
> > Datasource you created in generator, and you have component directly
> > interacting with any datasource.
>
> > I found SmartGWT SDK best for learning, as standard GWT, you have
> > access to all Java, XML files, but from Visual designer you also
> > generate JSP file and can see what have you created.
>
> > Hope I helped you. Also send me your experiences I you already found
> > something better, different.
>
> > Best regards,
>
> > Kensai
> > On Jun 8, 11:08 am, laurentleb  wrote:
> > > To the GWT community,
>
> > > I am pretty new to GWT but familiar with n-tiers application
> > > development. I find GWT fascinating to develop rich web applications
> > > and went through the tutorial. This is amazingly simple to achieve.
>
> > > On the other side, I tested also Google app Engine to develop and
> > > deploy a JSP/servlet + datastore testing app. Once again, it is really
> > > efficient.
>
> > > My question is : how can I combine these two approaches to build nice
> > > applications on the client side with efficient business java code on
> > > the server side and data storing in Google datastore ?
>
> > > Are there some guidelines ? Is there a policy ?
>
> > > Thank you in advance for your help.
>
> > > Laurent
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT or SmartGWT and Oracle - Stored procedures

2010-06-17 Thread kensai yanesha
The database could be any SQL engine, so the dataserver type schould
be sql not hibernate.

On 17 čvn, 06:18, kensai yanesha  wrote:
> Hello,
>
> I am new to GWT at all. My approach is to have an editable grid on the
> client side and one or more tables on the database side (Oracle in my
> case). Could someone post really working project with all files which
> supports all 4 standard operations (select, insert, update, delete)?
> In my case I want to do all these operations using stored procedures
> to avoid SQL injection attacks.
>
> Any external link or pure sample will help. I was not able to find any
> complete project which is I think best to learn it as complex logic.
>
> Thank you very much.
>
> Kensai

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



GWT or SmartGWT and Oracle - Stored procedures

2010-06-16 Thread kensai yanesha
Hello,

I am new to GWT at all. My approach is to have an editable grid on the
client side and one or more tables on the database side (Oracle in my
case). Could someone post really working project with all files which
supports all 4 standard operations (select, insert, update, delete)?
In my case I want to do all these operations using stored procedures
to avoid SQL injection attacks.

Any external link or pure sample will help. I was not able to find any
complete project which is I think best to learn it as complex logic.

Thank you very much.

Kensai

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT, servlet, JSP and datastore

2010-06-10 Thread kensai yanesha
@Tristan

thx 4 info

On 9 čvn, 18:32, Tristan Slominski 
wrote:
> @kensai
>
> If you look at Google App Engine, the datastore is part of Google's
> free-to-start cloud hosting service.
>
> On Wed, Jun 9, 2010 at 02:56, kensai yanesha wrote:
>
> > Hi Laurent,
>
> > I am also new to GWT, also fascinated :-). I also already went trough
> > samples and tutorials and well stopped at the point how to bind
> > components to, in my case, database table in Oracle database. I don't
> > know what do you mean exactly by "Google datastore" but I think you
> > mean the Datastore class in GWT framework.
>
> > Even GWT is very good for creating nice GUI on the client side, it's
> > object-relational mapping is still in incubation period and you
> > following options how to proceed:
> > 1.) You need to manually write the functions which manipulate with
> > data  on the server side and call it via AJAX (JavaScript) from the
> > client side when necessary.
> > 2.) Look at EoD SQL project athttp://eodsql.sourceforge.net/this
> > library may help you, there are also tutorials how to use it together
> > with GWT
> > 3.) This is the easiest, free for trial then payed, option. Use
> > SmartGWT Professional or Enterprise. Take a look at it
> >http://code.google.com/p/smartgwt/. It has integrated tomcat inside.
> > In the SDK there are lot of examples and tutorials, but also something
> > what you will find maybe really useful:
> > Datasource generator - generate XML DS descriptional file, works with
> > standard database engines, etc.
> > Visual designer - you can create client layouts in visual way, in this
> > tool you are also able to use for example Datagrid directly with
> > Datasource you created in generator, and you have component directly
> > interacting with any datasource.
>
> > I found SmartGWT SDK best for learning, as standard GWT, you have
> > access to all Java, XML files, but from Visual designer you also
> > generate JSP file and can see what have you created.
>
> > Hope I helped you. Also send me your experiences I you already found
> > something better, different.
>
> > Best regards,
>
> > Kensai
> > On Jun 8, 11:08 am, laurentleb  wrote:
> > > To the GWT community,
>
> > > I am pretty new to GWT but familiar with n-tiers application
> > > development. I find GWT fascinating to develop rich web applications
> > > and went through the tutorial. This is amazingly simple to achieve.
>
> > > On the other side, I tested also Google app Engine to develop and
> > > deploy a JSP/servlet + datastore testing app. Once again, it is really
> > > efficient.
>
> > > My question is : how can I combine these two approaches to build nice
> > > applications on the client side with efficient business java code on
> > > the server side and data storing in Google datastore ?
>
> > > Are there some guidelines ? Is there a policy ?
>
> > > Thank you in advance for your help.
>
> > > Laurent
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT, servlet, JSP and datastore

2010-06-09 Thread kensai yanesha
Hi Laurent,

I am also new to GWT, also fascinated :-). I also already went trough
samples and tutorials and well stopped at the point how to bind
components to, in my case, database table in Oracle database. I don't
know what do you mean exactly by "Google datastore" but I think you
mean the Datastore class in GWT framework.

Even GWT is very good for creating nice GUI on the client side, it's
object-relational mapping is still in incubation period and you
following options how to proceed:
1.) You need to manually write the functions which manipulate with
data  on the server side and call it via AJAX (JavaScript) from the
client side when necessary.
2.) Look at EoD SQL project at http://eodsql.sourceforge.net/ this
library may help you, there are also tutorials how to use it together
with GWT
3.) This is the easiest, free for trial then payed, option. Use
SmartGWT Professional or Enterprise. Take a look at it
http://code.google.com/p/smartgwt/. It has integrated tomcat inside.
In the SDK there are lot of examples and tutorials, but also something
what you will find maybe really useful:
Datasource generator - generate XML DS descriptional file, works with
standard database engines, etc.
Visual designer - you can create client layouts in visual way, in this
tool you are also able to use for example Datagrid directly with
Datasource you created in generator, and you have component directly
interacting with any datasource.

I found SmartGWT SDK best for learning, as standard GWT, you have
access to all Java, XML files, but from Visual designer you also
generate JSP file and can see what have you created.

Hope I helped you. Also send me your experiences I you already found
something better, different.

Best regards,

Kensai
On Jun 8, 11:08 am, laurentleb  wrote:
> To the GWT community,
>
> I am pretty new to GWT but familiar with n-tiers application
> development. I find GWT fascinating to develop rich web applications
> and went through the tutorial. This is amazingly simple to achieve.
>
> On the other side, I tested also Google app Engine to develop and
> deploy a JSP/servlet + datastore testing app. Once again, it is really
> efficient.
>
> My question is : how can I combine these two approaches to build nice
> applications on the client side with efficient business java code on
> the server side and data storing in Google datastore ?
>
> Are there some guidelines ? Is there a policy ?
>
> Thank you in advance for your help.
>
> Laurent

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.