On 24/05/2012 15:07, Mahe wrote:
I am Mahesh, new in GWT and Java. I want to create one application in
that. Actually I do basic application like stop-watcher. But now i
want connect my database to application and do dynamic application
means like store all value in database of user registration
Hi,
These post(s) may help:
- http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb
Cheers
Rob
http://code.google.com/p/gwt-cx/
On May 29, 7:11 pm, Philippe Lhoste phi...@gmx.net wrote:
On 24/05/2012 15:07, Mahe wrote:
I am Mahesh, new in GWT and Java. I want to create one
Hi all,
I am Mahesh, new in GWT and Java. I want to create one application in
that. Actually I do basic application like stop-watcher. But now i
want connect my database to application and do dynamic application
means like store all value in database of user registration form and
show the the
I had the same problem and find out that if you use GAE in your project
this error occurs so it is not related with your url format.
http://stackoverflow.com/questions/6773186/java-sql-sqlexception-url-is-not-in-the-correct-format
On Wed, Nov 30, 2011 at 4:01 PM, mpp4manu mp4...@att.com wrote:
I am new to GWT and Java programming in general. I have am using
Apache Geronimo to set up database pools. Once I understood how to
use them, my database connectivity issues went away.
Here is part 1 of a 2 part tutorial on GWT, Geronimo and MySQL:
{
conn = DriverManager.getConnection(url+db, user, pass);
} catch (SQLException e) {
System.err.println(Mysql Connection Error: );
e.printStackTrace();
}
return conn;
}
Here are some MySql wiki
I am try to this url but not working it shows the same error again and
again.
any way thanks mukut to responding to my question.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi all,
I am created a sample gwt rpc client server database
project.When am retrieving data from database it throw an exception
given below.
MySql Connection Error:
java.sql.SQLException: URL is not in the correct format: jdbc:mysql://
localhost/db
am retrieving data from database it throw an exception
given below.
MySql Connection Error:
java.sql.SQLException: URL is not in the correct format: jdbc:mysql://
localhost/db
at
com.google.cloud.sql.jdbc.internal.Exceptions.driverUrlNotInCorrectFormat(Exceptions.java:
103
Hi All,
Basically I'm developing a website which will display the data
requested from a database (MySQL in my case).
My problem is that I have an exception (see exception bellow) when I
run my application in Development mode (the GWT built-in server),
and what is strange is that I can execute my
http://stackoverflow.com/questions/6773186/java-sql-sqlexception-url-is-not-in-the-correct-format
2011/8/25 Sed jaballah.sed...@gmail.com
Hi All,
Basically I'm developing a website which will display the data
requested from a database (MySQL in my case).
My problem is that I have an
I think your slashes are being interpreted wrong. try:
con =
DriverManager.getConnection(jdbc:mysql:localhost:3306\\pandorabox,root,root);
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hi,
The article says that we could try to remove the app engine jar from the
project, which jar I must remove exactly ? and from where ?
Thx
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Hi Sean,
I tried your suggestion but it doesn't change anything, same problem.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/mLh3Vc3GccAJ.
To
You can't connect to
mysqlhttp://stackoverflow.com/questions/1651629/can-i-use-a-mysql-database-with-an-app-engine-applicationif
you will deploy in app engine. If you aren't do a GAE app, you must
remove GAE facet (if you use eclipse) to the project. Right click in the
project, Properties -
Any one had this problem before?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/I4QR492qr_kJ.
To post to this group, send email to
Hi Sed,
If you wanna make a GAE app you can't use mysql. If you wanna do a GWT
application that don't run on GAE, remove GAE facet in your project (if you
use eclipse). Right click in the project, Google -App Engine and uncheck *Use
Google App Engine*
*
*
*Juan
*
2011/8/25 Sed
The solution if you want to use a database connection ( MySQL for example)
:
1 - You can't use google app engine mode (enable by default on Eclipse with
GWT plugin) : To disable the google App mode : right click on the project
Google App setting engine uncheck use google app engine
2 -
Thanks for your replay. You are right. I didn't thought about that. I
now run it on Tomcat.
Are there otherways just to exclude GAE and switch to another server,
but still having the same integration?
Is there a good howto available how to use tomcat or others instead of
the internal jetty server?
Can you paste the complete stack tace?
2011/6/29 devel deve...@googlemail.com
Hi everyone,
I've got again a problem where I don't know how to proceed.
I've got a Hibernate configuration that is perfectly working on a
normal Java application. I've copied everything (config, classes,
libs)
Hi everyone,
I've got again a problem where I don't know how to proceed.
I've got a Hibernate configuration that is perfectly working on a
normal Java application. I've copied everything (config, classes,
libs) to a GWT application (libs also to WEB-INF/lib) and since then
there is no connection
Hi
Does your project use Google App Engine? Cause GAE plugin works as a sandbox
and doesn't allow to make arbitrary network connections (
http://code.google.com/intl/fr-FR/appengine/docs/java/overview.html)
Cordially
Jeanpylone
--
You received this message because you are subscribed to the
Hi,
This is my first coding post so hopefully Im doing things the right
way..
I am developing a gwt app where I need mySQL connection. I think I
have grasped the whole client server thing ( RMI etc ).
In my server side code I am trying to establish a database connection
to mySQL using the JDBC
, at 14:45, David davidgmah...@gmail.com wrote:
Hi,
This is my first coding post so hopefully Im doing things the right
way..
I am developing a gwt app where I need mySQL connection. I think I
have grasped the whole client server thing ( RMI etc ).
In my server side code I am trying
Hi
I've created a resource context for mysql connection pooling in a file
named context.xml i puted it into META-INF directory of my web gwt
eclipse application (my project does NOT use google app engine) . its
my context.xml content :
?xml version=1.0 encoding=UTF-8?
Context path=/TestDB
Hello,
I'm currently trying to create my own implementation of the secured
login design presented in the following link:
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
Everything seems to work just fine concerning the RPC and UI, however
once the user tries to
You cannot access that directly !
You have to do it server side and then access it from a RPC class !
I don't have any simple exemple for you since I'm using Guice and
Gwt-Dispatch to intercept my server calls, but you can read the doc for any
exemple.
trying to use GWT access MySQL, I understand that I have to use
RPC, I'm familiar with that but I just don't know how to implement
MySQL connection into it, can anyone help me out here? Many thanks!
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group
how to implement
MySQL connection into it, can anyone help me out here? Many thanks!
--
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
Actually, what you HAVE to do is ask your server to get the data from your
database, whether that is RPC, or FormPost or HTTP GET or some form of XHR is
really a decision for you to make based upon your server technology. GWT
doesn't really care.
As for accessing MySQL, that is a problem more
-test-MySQLConn/src/com/tribling/gwt/test/mysqlconn/?r=713#mysqlconn/client
I'm trying to use GWT access MySQL, I understand that I have to use
RPC, I'm familiar with that but I just don't know how to implement
MySQL connection into it, can anyone help me out here? Many thanks!
--
You received
RPC, I'm familiar with that but I just don't know how to implement
MySQL connection into it, can anyone help me out here? Many thanks!
--
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
Thanks for all the replies people, but I'm still kinda lost. I'm actually
making a Drag and Drop E-Commerce website using GWT for a school project, I
got kinda stuck because previously I had first completed my website before
implementing GWT in. Without GWT, I called out my product information
Alright, Christian I saw your work and got an idea how to go about it.
I used my MainEntryPoint to access the DAO directly but I'm getting
compilation about my imports.
import java.util.logging.Level;
import java.util.logging.Logger;
My code is this
public MainEntryPoint() {
try {
Hey, I am trying to create a voting system I've got a MySQL DB already
up (using WAMP) and I'm using Eclipse Galileo with GWT. I have looked
everywhere on how to make this connection and now I am sure I connect
to the DB at least, however I am unsure regarding if I actually
retrieve anything from
can you post the actual exception your having?
On Wed, Oct 21, 2009 at 7:11 AM, Proxy luigiadva...@gmail.com wrote:
Hey, I am trying to create a voting system I've got a MySQL DB already
up (using WAMP) and I'm using Eclipse Galileo with GWT. I have looked
everywhere on how to make this
Proxy schrieb:
PreparedStatement ps = conn.prepareStatement(
SELECT user, pass FROM usuarios WHERE user = \ + user1 + \ AND +
pass = \ + pass + \
);
Using a PreparedStatement is one thing but not using its features
is another. You still can do SQL-injections here allowing you to
The thing is that I get no error whatsoever, I just get a message from
the hosted mode:
[INFO] 200 - POST /votaciones/MySQLConnection (127.0.0.1) 14 bytes
Which since it's 200 means it went ok... and yes I know about the
injection but since it's still something I'm doing locally I won't get
I actually managed to connect now, I only have one question left now,
why is the onFailure from here
private class AuthenticationHandlerT implements
AsyncCallbackUser
{
public void onFailure(Throwable ex) {
label.setText(Fail);
Proxy schrieb:
I actually managed to connect now, I only have one question left now,
why is the onFailure from here
Because the method being called on the server-side has no
declared exception that you throw.
Regards, Lothar
--~--~-~--~~~---~--~~
You
Hi,
Im Using GWT + AppEng is that the problem here?
Lets say I have an existing database which I want to use for my GWT
application what is the possible solution you reckon ?
On Tue, Sep 22, 2009 at 7:08 AM, Sripathi Krishnan
sripathi.krish...@gmail.com wrote:
If you are using Google App
Hi All,
I have the same problem when I connect to MySQL database,
What I understand from the GWT doc, whatever server side scripts we
have to in .server package and this will be on server side on host
mode when we debug the application.
here is the scenario
I can get the data from the server
If you are using Google App Engine (separate from GWT), you *cannot* use an
external database. App Engine doesn't allow you to open socket connections,
and that is exactly what the getConnection() method does.
--Sri
2009/9/21 Chamira Fernando chamira.inc...@gmail.com
Hi All,
I have the
Hey,
You are going on wrong way! You can only use java.util and java.lang
on client side code ... for everything else you will have to use
server side code which returns results to you client.
On Sep 3, 4:21 am, GumbyGWTBeginner stephan.gump...@gmail.com wrote:
Hi Guys,
Was wondering if
[quoting repaired]
GumbyGWTBeginner schrieb:
On Sep 3, 10:36 am, Isaac Truett itru...@gmail.com wrote:
Stephan,
You need to make a request to the server for the data. The server can
connect to the database and return the results to the browser. If your
server is running Java, then GWT RPC
Hi Guys,
Was wondering if anyone could answer a small question?
I have created a class called DBFlow (Code below) which connects to
a MySQL DB and retrieve the number of rows in a DB.
I am new at this could anyone throw some light on the subject.
Error
You forgot .newInstance() after forname(string).
There's a lot of documentation here :
http://dev.mysql.com/doc/refman/5.0/en/connector-j-usagenotes-basic.html#connector-j-examples-connection-drivermanager
Christian
On Wed, Sep 2, 2009 at 7:21 PM, GumbyGWTBeginner
Hi,
The problem is that you're trying to mix GWT and java.sql. That's not
going to work. JS in the browser can't connect to your database.
The cause of your specific error is that Class.forName() is not a part
of the JRE that GWT emulates.
See also:
Can you guys point in the direction of either a concept on how I would
do this or a sample project for Ecllipse / GWT that I can go thru.
Keeping in mind I am new at this too.
I can figure most things out with sample code.
My Secario:
I have installed MySQL Database on my PC
Trying to make a
Will this (what is documented on that link) work if I runn on my local
PC?
or
Do I have actually host the MySQL DB on a webserver?
Stephan
On Sep 3, 10:36 am, Isaac Truett itru...@gmail.com wrote:
Stephan,
You need to make a request to the server for the data. The server can
connect to
50 matches
Mail list logo