Re: Can't configure properly Charts4j charts under GWT

2009-02-16 Thread Lonifasiko

Hi Michael,

I'm afraid I did not find a solution, in fact, seems really strange to
me that anybody did not reply to this post, even to ask some more
details.

Thus, seeing this unusual "un-interest" for Charts4j, I directly
forgot about using this graphs inside GWT. A pity..

Sorry but that has been my negative experience..

Hope you achieve a bit more possitive results, or at least, a reply
from somebody ;-). In case you do it, please do let me know.

Best regards,

--
Miguel
Blog: http://lonifasiko.blogspot.com

On 16 feb, 10:51, micha  wrote:
> Hi Miguel,
>
> did you find a solution for this problem? I'm facing excactly the same
> error...
> I've already added the .java-Files into the "charts4j-1.0.jar"-File
> without success.
>
> Regards
> Michael
>
> On 19 Jan., 16:10, Lonifasiko  wrote:
>
> > Hi, I'm not able to use chart4j chart library under GWT project
> > anyway. I've added .jar file to the classpath of the project and then
> > I've implemented a simple linechart example with source code from the
> > web.
>
> > When launching my GWT application, Tomcat hosted mode AS throws an
> > exception telling me that  "No source code is available for type
> > com.googlecode.charts4j.Line; did you forget to inherit a required
> > module?"
>
> > There are many more errors referencing other classes under charts4j
> > package...
>
> > When saw this inheritance related error, I thought would be as easy as
> > adding an inherit module in application's "gwt.xml" configuration
> > file, just as I've done for other chart libraries, then I added:
>
> > 
>
> > Well, this way Tomcat throws another exception saying that "Unable to
> > find 'com/googlecode/Charts4j.gwt.xml' on your classpath; could be a
> > typo, or maybe you forgot to include a classpath entry for source?"
>
> > Has anybody successfully configured and showed charts4j charts under
> > GWT application?
>
> > Thanks very much in advance.
>
> > --
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@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
-~--~~~~--~~--~--~---



Inherit tag to integrate JFreeChart under GWT application

2009-01-22 Thread Lonifasiko

Hi, created a new GWT application and would like to use charts from
JFreeChart library. I added "jfreechart-1.0.12.jar" and
"jcommon-1.0.15.jar" (a dependency of the first one) to the classpath
of the project.

Then, as must be done with any other third-party library in GWT, I
just added an "inherits" tag in application's gwt.xml file. Iexactly
added the following line:



but hosted mode browser throws the following error:

[ERROR] Unable to find 'org/jfree/chart/JFreeChart.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
[ERROR] Line 19: Unexpected exception while processing element
'inherits'

I understand JFreeChart is being used by many of you inside GWT
applications? Thus, which exact "inherits tag" should I place
inside .gwt.xml file? This error is driving me crazy, and the worst is
I've got same error with chart4j library? Is there any kind of
guideline I'm missing for these inherit issues with third-party
libraries?

Thanks very much in advance.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@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
-~--~~~~--~~--~--~---



Can't configure properly Charts4j charts under GWT

2009-01-19 Thread Lonifasiko

Hi, I'm not able to use chart4j chart library under GWT project
anyway. I've added .jar file to the classpath of the project and then
I've implemented a simple linechart example with source code from the
web.

When launching my GWT application, Tomcat hosted mode AS throws an
exception telling me that  "No source code is available for type
com.googlecode.charts4j.Line; did you forget to inherit a required
module?"

There are many more errors referencing other classes under charts4j
package...

When saw this inheritance related error, I thought would be as easy as
adding an inherit module in application's "gwt.xml" configuration
file, just as I've done for other chart libraries, then I added:



Well, this way Tomcat throws another exception saying that "Unable to
find 'com/googlecode/Charts4j.gwt.xml' on your classpath; could be a
typo, or maybe you forgot to include a classpath entry for source?"

Has anybody successfully configured and showed charts4j charts under
GWT application?

Thanks very much in advance.

--
Miguel
Blog: http://lonifasiko.blogspot.com

--~--~-~--~~~---~--~~
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-Toolkit@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: Charting capabilities under GWT

2008-12-18 Thread Lonifasiko

Hi Alex, than ks for pointing me to Google Visualization API, I'm now
playing with this library inside GWT application. It looks promising
although also seems a bit complicated to manage programatically

Now, the issue is we've got a new requisite for the generated graphs,
we need to generate graphs that can be saved as images, in .GIF, .JPG
or .PNG format.

Flash generated ones do not let me save charts as images, thus, I
think we can forget about using amCharts and some charts from Google
Visualization API that use Flash.

Any other alternatives out there?

Thanks very much in advance.

--
Miguel
Blog: http://lonifasiko.blogspot.com
On 10 dic, 09:21, "alex.d"  wrote:
> Take a look at the Google Visualisation API Library - i think it maybe
> exactly what you need:
>
> http://google-code-updates.blogspot.com/2008/12/google-visualization-...
>
> On 9 Dez., 17:12, Srini Marreddy  wrote:
>
> > I suggest to take a look at Google charts api. It is very fast simple
> > and no flash plugin required . GWT integration is very easy.( Set the
> > chart url to the Image object).
>
> >http://code.google.com/apis/chart/
>
> > Regards,
> > Srini
>
> > On Dec 9, 9:34 am, Lonifasiko  wrote:
>
> > > Hi Joe,
>
> > > Wow! AmCharts looks awesome, I'll take a deep look to these Flash
> > > controls.
>
> > > Is it easy to integrate them under GWT application?
>
> > > Thanks and regards.
>
> > > --
> > > Miguel
> > > Blog:http://lonifasiko.blogspot.com
>
> > > On 5 dic, 12:16, Joe Cole  wrote:
>
> > > > Hi Miguel,
>
> > > > We have successfully integrated amcharts.com into our application. It
> > > > was very easy, I even think there are some examples posted in a
> > > > similar thread a while ago. We tried a couple of other methods
> > > > (jfreechart -> image), xmlswf, openflash, gwtchart but found amcharts
> > > > the best combination of interaction and look.
>
> > > > Joe
>
> > > > On Dec 5, 10:07 pm, Lonifasiko  wrote:
>
> > > > > Before taking the final decision of using GWT for our new web
> > > > > application, I wanted to know which options I have in order to
> > > > > generate graphs and charts inside a GWT application.
>
> > > > > In fact, these charting cappabilities are the most important part of
> > > > > the application for our customer, thus, it's a requisite that GWT
> > > > > application lets us integrate and generate good graphs. Data for these
> > > > > graphs would be retrieved from a MySQL database, using servlets and
> > > > > GWT-RPC to bypass data from server to client.
>
> > > > > The more advanced the graphs are, the better, no matter if opensource
> > > > > or commercial. For us would be awesome to let users somehow interact
> > > > > with charts at client-side, you know, effects and actions Flash graphs
> > > > > already do for example.
>
> > > > > Any advice around charting possibilities under GWT will be greatly
> > > > > appreciated. Thanks very much in advance.
>
> > > > > --
> > > > > Miguel
> > > > > Blog:http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@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
-~--~~~~--~~--~--~---



Using Google Visualization API inside asynchronous GWT methods

2008-12-17 Thread Lonifasiko

I've achieved the integration of a very simple piechart powered by
Google Visualization API into a simple GWT application.

Nevertheless, it seems that I can only create and manipulate the chart
programatically properly when the code generating the graph is placed
under onModuleLoad method, inside click event handlers, or any other
methods that are not asynchronous. Example:

/* Code Begin */
PieChart pie = null;
public void onModuleLoad() {
// Draw your GWT controls and other stuff

 Runnable onLoadCallback = new Runnable() {
public void run() {
  Panel panel = RootPanel.get();
  // Create a pie chart visualization.
  PieChart pie = new PieChart(createTable(), createOptions
());
  pie.setVisible(true);
  //pie.addSelectHandler(createSelectHandler(pie));
  panel.add(pie);
}
  };
// Load the visualization api, passing the onLoadCallback to be
called
// when loading is done.
AjaxLoader.loadVisualizationApi(onLoadCallback, PieChart.PACKAGE);
}
/* Code End */

This code works, but if I place it inside a callback method, when
servlet returns data from a database, chart is not drawn, and no
errors are thrown.

In other words, I'm trying to load an initial simple GWT application,
without any chart, that after some seconds, queries a database, and
shows retrieved results in a chart from Google Visualization API.

Has somebody successfully achieved this? I'm sure I'm missing some
very basic stuff.

Thanks very much in advance.

--
Miguel
Blog: http://lonifasiko.blogspot.com/
--~--~-~--~~~---~--~~
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-Toolkit@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: Charting capabilities under GWT

2008-12-09 Thread Lonifasiko

Hi Joe,

Wow! AmCharts looks awesome, I'll take a deep look to these Flash
controls.

Is it easy to integrate them under GWT application?

Thanks and regards.

--
Miguel
Blog: http://lonifasiko.blogspot.com

On 5 dic, 12:16, Joe Cole <[EMAIL PROTECTED]> wrote:
> Hi Miguel,
>
> We have successfully integrated amcharts.com into our application. It
> was very easy, I even think there are some examples posted in a
> similar thread a while ago. We tried a couple of other methods
> (jfreechart -> image), xmlswf, openflash, gwtchart but found amcharts
> the best combination of interaction and look.
>
> Joe
>
> On Dec 5, 10:07 pm, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> > Before taking the final decision of using GWT for our new web
> > application, I wanted to know which options I have in order to
> > generate graphs and charts inside a GWT application.
>
> > In fact, these charting cappabilities are the most important part of
> > the application for our customer, thus, it's a requisite that GWT
> > application lets us integrate and generate good graphs. Data for these
> > graphs would be retrieved from a MySQL database, using servlets and
> > GWT-RPC to bypass data from server to client.
>
> > The more advanced the graphs are, the better, no matter if opensource
> > or commercial. For us would be awesome to let users somehow interact
> > with charts at client-side, you know, effects and actions Flash graphs
> > already do for example.
>
> > Any advice around charting possibilities under GWT will be greatly
> > appreciated. Thanks very much in advance.
>
> > --
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Charting capabilities under GWT

2008-12-05 Thread Lonifasiko

Before taking the final decision of using GWT for our new web
application, I wanted to know which options I have in order to
generate graphs and charts inside a GWT application.

In fact, these charting cappabilities are the most important part of
the application for our customer, thus, it's a requisite that GWT
application lets us integrate and generate good graphs. Data for these
graphs would be retrieved from a MySQL database, using servlets and
GWT-RPC to bypass data from server to client.

The more advanced the graphs are, the better, no matter if opensource
or commercial. For us would be awesome to let users somehow interact
with charts at client-side, you know, effects and actions Flash graphs
already do for example.

Any advice around charting possibilities under GWT will be greatly
appreciated. Thanks very much in advance.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Support for X.509 certificates

2008-12-01 Thread Lonifasiko

Thanks for both replies, I'll take a look at how I should configure
these certificates support under JBoss AS.

Thanks very much.

--
Miguel
Blog: http://lonifasiko.blogspot.com

On 28 nov, 15:14, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote:
> Lonifasiko schrieb:
>
> > Maybe I'm asking a stupid question, but support for X.509 certificates
> > concerns to GWT or to the application server I'm using, JBoss in my
> > case?
>
> It concerns the application-server and the browser the GWT-application
> is being executed (e.g. if we are talking about certificate-based
> client-authentication when doing HTTPS-communication).
>
> Regards, Lothar
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Support for X.509 certificates

2008-11-28 Thread Lonifasiko

Maybe I'm asking a stupid question, but support for X.509 certificates
concerns to GWT or to the application server I'm using, JBoss in my
case?

Thanks and regards.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT under JBoss Portal or Liferay Portal

2008-11-28 Thread Lonifasiko

Hi Gregor, thanks very much for your reply.

I started yerterday this post cause we need a web UI similar to what
these portals offer, and because tests we've made with GWT have
convinced us a lot, that's why I was asking for a combined solution.
Yes, after searching in the group, seems like it's possible to
integrate GWT code in portlets running under JBoss Portal or Liferay,
but as you say, also seems a bit complicated and somehow tricky.

Nevertheless, after seeing GWT AJAX potential and fast response, dont'
like very much the idea of the trips between client and server that
take place both with JBoss Portal and Liferay ;-), GWT does it much
faster!

Therefore, would be possible to achieve a web portal UI using only GWT
and servlets that interact with database? The idea would be to deploy
"all the mix" under JBoss AS.

Thanks and regards.

Miguel
Blog: http://lonifasiko.blogspot.com
On 27 nov, 22:18, gregor <[EMAIL PROTECTED]> wrote:
> If you search group for "GWT portlets on Liferay" you'll find posts
> about this including this one:
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> which has a number of links in it providing examples of how to do
> this. I haven't actually done this myself, so I can' be of much
> further help really but but I hope the links are useful. I think the
> answer is yes, you can do it, but a certain amount of jiggery pokery
> will be required.
>
> regards
> gregor
>
> On Nov 27, 2:49 pm, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> > Would be possible to somehow combine GWT approach under JBoss Portal
> > or Liferay Portal solution?
>
> > Sorry if I'm asking a stupid question that makes not very much sense,
> > but any point of view would be greatly appreciated.
>
> > --
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT under JBoss Portal or Liferay Portal

2008-11-27 Thread Lonifasiko

Would be possible to somehow combine GWT approach under JBoss Portal
or Liferay Portal solution?

Sorry if I'm asking a stupid question that makes not very much sense,
but any point of view would be greatly appreciated.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Need to richer widget set in GWT

2008-11-27 Thread Lonifasiko

Hi Ted,

Thanks very much for sharing your experience with GWT-Ext controls,
I'll take it into account when evaluating the possibility of using
richer UI controls for GWT applications.

Thanks and regards.

On 27 nov, 13:57, TedM <[EMAIL PROTECTED]> wrote:
> Question.  I just looked at GWT Mosaic.  I'm trying to figure out
> where it fits in?  It looks like it uses the core GWT widgets along
> with widget from the GWT incubator.
>
> But still I think if you compare the functionality of GWT-EXT or
> smartGWT, you will find that GWT Mosaic is still lacking in terms of
> richness.
>
> On Nov 27, 2:38 am, "alex.d" <[EMAIL PROTECTED]> wrote:
>
> > Libraries close to your wish list are GXT and GWT Mosaic.
>
> > > > > > The widgets that matter most to me are:
> > > > > > 1. Sortable table/grid
> > > > > > 2. Grouping table/grid
> > > > > > 3. Paging table/grid
> > > > > > 4. Dragable pop dialog (Having action buttons at the top right of 
> > > > > > the
> > > > > > dialog)
> > > > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > > > 6. Calendar date field (With date picker)
> > > > > > 7. ComboBox (Image support, z-indexable)
>
> > > > > > In addition, I think it would be very helpful if GWT had some basic
> > > > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > > > Please let me know if the GWT team is planning on building these
> > > > > > features.
>
> > > > > > If not, let me know if anyone is interested.  Because I'll build 
> > > > > > them
> > > > > > and post them somewhere.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Need to richer widget set in GWT

2008-11-27 Thread Lonifasiko

I've spent a couple of hours taking a look at the numerous widgets
extensions for GWT, both opensource and commercial, and all I can say
is that I'm really impressed with the user interfaces shown in all
examples.

Which is the problem with GWT-EXT package? I do see GNU license in the
project's page...

Thanks and regards.

On 27 nov, 08:38, "alex.d" <[EMAIL PROTECTED]> wrote:
> Libraries close to your wish list are GXT and GWT Mosaic.
>
> > > > > The widgets that matter most to me are:
> > > > > 1. Sortable table/grid
> > > > > 2. Grouping table/grid
> > > > > 3. Paging table/grid
> > > > > 4. Dragable pop dialog (Having action buttons at the top right of the
> > > > > dialog)
> > > > > 5. Tab Panel (GWT is missing the mouse over and table scrolling)
> > > > > 6. Calendar date field (With date picker)
> > > > > 7. ComboBox (Image support, z-indexable)
>
> > > > > In addition, I think it would be very helpful if GWT had some basic
> > > > > CSS templates like EXT's default, gray, and vista templates.
>
> > > > > Please let me know if the GWT team is planning on building these
> > > > > features.
>
> > > > > If not, let me know if anyone is interested.  Because I'll build them
> > > > > and post them somewhere.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT + MySQL Best Practices?

2008-11-27 Thread Lonifasiko

What does Maven better than Ant? I've heard Maven is quite large and
complex...

On 27 nov, 11:39, "olivier nouguier" <[EMAIL PROTECTED]>
wrote:
> IMHO you should look at maven for doing this "hellish job"
>
>
>
> On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > We're also evaluating the possibility of using an architecture
> > composed by GWT + Servlets + MySQL. I thought it was going to exist
> > another option to communicate GWT more directly with MySQL, but seems
> > like a combination of GWT-RPC and servlets is one of the best ways to
> > achieve this interaction with DB.
>
> > In our test project, instead of Tomcat, we're using JBoss to deploy
> > all the application, both client side code and server-side code,
> > packaged into a unique .war file. At the moment must admit we're also
> > copying files and generating the .war package each time manually, but
> > I've also decided, based on other comments in the group, to use an ANT
> > script to automatize this hellish task, sure it saves me very much
> > time and problems.
>
> > By the way, do you see any advantages/disadvantages of using JBoss AS
> > to host the whole application? Why did you choose for example Tomcat?
>
> > Thanks and regards.
>
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
>
> > On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> >> For automating the deployment (instead of manually copying) ant is the
> >> only way to go.  I've heard stories that Maven is even easier, but we
> >> haven't jumped onto that band wagon (yet).  When we build with no
> >> server, we have an ant build file that does all that, and then deploys
> >> to our external server.  We do it old school and jump out to the file
> >> system and run via command line, but I've done from inside Eclipse as
> >> well.
>
> >> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>
> >> > Hi guys,
>
> >> > I'm developing a project with GWT + Servlets + MySQL. At this point,
> >> > I've got the project setup using the "-noserver" flag and I have
> >> > Connector/J configured on an external Tomcat 6 server so that my
> >> > servlets can access the DB. Communication to/from server is through
> >> > GWT-RPC .
>
> >> > My Problem: This is a bit of a pain b/c anytime I make a change to the
> >> > servlet code (which resides in the same Eclipse project as my GWT
> >> > code...and I'd prefer to keep it this way), I have to copy the *.class
> >> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
> >> > INF/classes/blahblahblah folder.
>
> >> > This seems extremely manual and I'm hopeful that there's a better way
> >> > to do it. What is the recommended way of doing this type of
> >> > development? Ideally, I'd it would just pickup the changes to both the
> >> > client and server code as it used to when I was working in hosted
> >> > mode. Unfortunately, I couldn't figure out how to get MySQL and
> >> > Connector/J setup in the integrated Tomcat, so I went with the "-
> >> > noserver" option and configured it with an external instance of Tomcat
> >> > instead. This manual copying crap is starting to get super annoying,
> >> > so I'm reaching out for help.
>
> >> > What's the best practices for this?
>
> --
> Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire.

--
Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT + MySQL Best Practices?

2008-11-27 Thread Lonifasiko

Hi,

We're also evaluating the possibility of using an architecture
composed by GWT + Servlets + MySQL. I thought it was going to exist
another option to communicate GWT more directly with MySQL, but seems
like a combination of GWT-RPC and servlets is one of the best ways to
achieve this interaction with DB.

In our test project, instead of Tomcat, we're using JBoss to deploy
all the application, both client side code and server-side code,
packaged into a unique .war file. At the moment must admit we're also
copying files and generating the .war package each time manually, but
I've also decided, based on other comments in the group, to use an ANT
script to automatize this hellish task, sure it saves me very much
time and problems.

By the way, do you see any advantages/disadvantages of using JBoss AS
to host the whole application? Why did you choose for example Tomcat?

Thanks and regards.

Miguel
Blog: http://lonifasiko.blogspot.com

On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> For automating the deployment (instead of manually copying) ant is the
> only way to go.  I've heard stories that Maven is even easier, but we
> haven't jumped onto that band wagon (yet).  When we build with no
> server, we have an ant build file that does all that, and then deploys
> to our external server.  We do it old school and jump out to the file
> system and run via command line, but I've done from inside Eclipse as
> well.
>
> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote:
>
> > Hi guys,
>
> > I'm developing a project with GWT + Servlets + MySQL. At this point,
> > I've got the project setup using the "-noserver" flag and I have
> > Connector/J configured on an external Tomcat 6 server so that my
> > servlets can access the DB. Communication to/from server is through
> > GWT-RPC .
>
> > My Problem: This is a bit of a pain b/c anytime I make a change to the
> > servlet code (which resides in the same Eclipse project as my GWT
> > code...and I'd prefer to keep it this way), I have to copy the *.class
> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB-
> > INF/classes/blahblahblah folder.
>
> > This seems extremely manual and I'm hopeful that there's a better way
> > to do it. What is the recommended way of doing this type of
> > development? Ideally, I'd it would just pickup the changes to both the
> > client and server code as it used to when I was working in hosted
> > mode. Unfortunately, I couldn't figure out how to get MySQL and
> > Connector/J setup in the integrated Tomcat, so I went with the "-
> > noserver" option and configured it with an external instance of Tomcat
> > instead. This manual copying crap is starting to get super annoying,
> > so I'm reaching out for help.
>
> > What's the best practices for this?
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: StockWatcher RPC example does not work under JBoss AS

2008-11-19 Thread Lonifasiko

Hi gregor, thanks for the reply.

I'll take a look at the possibility of using an ANT script to deploy
the .war file under JBoss. Nevertheless, I understand following steps
of the GWT tutorial (although related to Tomcat deployment), should
work also for JBoss (zip all the content, rename to .war and place
the .war under "deploy" directory of Jboss).

Has anybody successfully achieved deploying the GWT example .war under
JBoss in the way GWT tutorial says?

Thanks veyr much in advance, I'll keep you updated with my
progresses...

Miguel
Blog: http//lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



StockWatcher RPC example does not work under JBoss AS

2008-11-19 Thread Lonifasiko

Hi,

After seeing that StockWatcher RPC example works great under GWT
hosted mode, I'm trying to deploy StockWatcher RPC example of GWT
Tutorial (http://code.google.com/docreader/#p=google-web-toolkit-
doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideRPCDeployment) under
JBoss version 4.2.3. GA.

The error under JBoss console is "Cannot load servlet class:
com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl".

I think problem could be related to the content copied under "WEB-INF
\classes". Tutorial says:

"Copy the compiled class files from your project to the /WEB-INF/
classes folder in the staging area. Make sure you include all of the
subdirectories as well."

I've tried placing under this directory all .class files under "bin",
both client and server side .class files, only server-side ones,
mantaining and not mantaining directories structure above .class
files, but at the moment there is no way to access de GWT RPC example
under JBoss.

URL and servlet mapping under web.xml file also seem to be correct:


   StockPrices
   com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl
 

 
 
   StockPrices
   /stockPrices
 

Am I missing something else?

I'd really appreciate any help of any GWT and JBoss expert. Thanks
very much in advance.

Miguel
Blog: http//lonifasiko.blogspot.com

--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Any free UI designer available for Eclipse?

2008-11-17 Thread Lonifasiko

Thanks for pointing me to the Netbeans option. Nevertheless, must say
that it's so similar to the one for Eclipse, that even does not allow
visual web development.

Although not for free, I think I should take a look at GWT Designer.
Anyway, I'll keep an eye on these other plugins...

Thanks very much.

Miguel
Blog: http://lonifasiko.blogspot.com

On 14 nov, 16:10, Srini Marreddy <[EMAIL PROTECTED]> wrote:
> Netbeans got free GWTPlugin . See the following link for more details.
>
> http://googlewebtoolkit.blogspot.com/2007/12/developing-gwt-applicati...
>
> Regards,
> Srini
>
> On Nov 14, 5:37 am, Lonifasiko <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply, I therefore assume there is no other free tool
> > or free Eclipse plugin, other than GWT Designer, that lets me design
> > GWT applications' UI in an easy way.
>
> > Regards.
>
> > Miguel
> > Blog:http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Any free UI designer available for Eclipse?

2008-11-14 Thread Lonifasiko

Thanks for the reply, I therefore assume there is no other free tool
or free Eclipse plugin, other than GWT Designer, that lets me design
GWT applications' UI in an easy way.

Regards.

Miguel
Blog: http://lonifasiko.blogspot.com
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Any free UI designer available for Eclipse?

2008-11-13 Thread Lonifasiko

Hi all,

Following the GWT tutorial available on the web, I've noticed almost
all widgets (for me they are web controls) are added and configured in
the .java code by hand. I mean you must create an instance of a
button, add it to a panel, and so on, doing it all by hand.

Seeing this behaviour, I miss a UI designer that lets me design web
pages just dragging & dropping controls from an Eclipse toolbox to the
web page, in this case, to the main HTML page. Many other web
technologies let me do that, so I'm a bit confused GWT does not.

Therefore, is there any free UI designer plugin for Eclipse in order
to make GWT applications' development easier?

Thanks very much in advance.
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Adopting GWT coming from JBoss + JSP configuration

2008-10-21 Thread Lonifasiko

Hi,

Just started playing with GWT (and Cypal Studio for GWT) today. At the
moment we've got a web project deployed under JBoss composed of many
jar files and a web interface built with several JSP-s. I'd like to
know how difficult would be to adopt GWT approach for this already
running application and to start coding new functionality under this
platform.

Has anybody done this kind of "migration"? I suppose cannot be very
painful cause both are Java..

I would really appreciate any info on that.

Thanks very much in advance.

Miguel
Blog: http://lonifasiko.blogspot.com

--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---