Raphael JS and Java web app

I want to use the Raphael Javascript framework to create some charts based on dynamic data coming from my Java web application. Is the only way to access this data from my web application through the use of hidden fields on my page which I can then lookup inside the Rapahel JS code?

--------------Solutions-------------

A typical approach would be for the web application to send a JSON file which your javascript would use to drive the Raphael library.

Reference:

  1. Using JSON in jQuery.
  2. Ajax Tutorials

As Brock says above, then look at: http://www.highcharts.com/

Why reinvent the wheel? Unless you want the experience. Graphing is fun.

Category:java Time:2010-06-22 Views:1

Related post

  • Running a regular background event in Java web app 2008-09-07

    In podcast #15, Jeff mentioned he twittered about how to run a regular event in the background as if it was a normal function - unfortunately I can't seem to find that through twitter. Now I need to do a similar thing and are going to throw the quest

  • Minimum directory structure and ant build file contents for Java web app 2008-10-04

    What is the minimal conventional directory structure for a Java web app? What do I need to put in a build.xml file to get ant to build it and make a WAR file? My goal is to deploy a Wicket app to Tomcat without using an IDE. I want to do it with only

  • Best open source Java library to incorporate Facebook functionality into a Java web app? 2009-04-17

    What's the best open source Java library to add Facebook functionality to a Java web app? --------------Solutions------------- Since facebook stopped supporting a Java API, the mantle of trying to provide one has been taken up by a google coding grou

  • How to learn AJAX using jQuery in a Java web app 2009-04-21

    Can someone point me to tutorials using jQuery to create AJAX apps with Java (servlets). I was looking at the tutorial Implementing Ajax in Java web application using JQuery, which is similar to what I need, but it doesn't include most of the detail.

  • Date based licensing logic for Java web app? 2009-05-08

    I am trying to come up with a logic for a date based licensing mechanism for a Java web app. The app needs to be deployed in client sites which may not have access to the Internet (deployed on the intranet). In this case how do I build a licensing me

  • How to profile and understand output for a Java Web App 2009-08-19

    I am currently trying to profile a java web app. I used Netbeans Profiler in conjunction with Eclipse. My server (Tomcat) is running through eclipse plugin and I dynamically connect to server using Netbeans profiler. I have a primary problem, that af

  • How to submit JCL on IBM zOS through Java web app? 2009-08-24

    Can someone tell me the best way to run a piece of JCL on IBM zOS from a Java web app on a different server (Windows). I also need get a response code back from the job. The 2 options at the moment are: 1) Using JES - But its hard to get the response

  • Easiest way to deal with sample data in Java web apps? 2009-11-13

    I'm writing a Java web app in my free time to learn more about development. I'm using the Stripes framework and eventually intend to use hibernate and MySQL For the moment, whilst creating the pages and general layout, how can I mock up some data eas

  • Best practice for handling environment specific settings for a Java web app? 2010-01-21

    I have a Java web app that offloads some environment specific settings (Hibernate configurations, required directory paths, etc.) in a properties file that is ultimately packaged in the deployed WAR. If I wish to distribute this web app, what's the b

  • How to Merge GWT (Google Web Toolkit) Project and Dynamic Web Project (i.e. Java Web App/Servlets) in Eclipse? 2010-02-16

    I currently have a primary Java Web App Project which houses some Servlets, JSPs and static HTML pages. Later on, I also created a second Eclipse Google Web Toolkit Project (GWT). Now, after finishing the GWT Project, I want to integrate or merge the

  • Configure SSL to work with Java web app on Tomcat 5.5 server 2010-06-21

    This is a bit of a noob question but what do I need to get SSL working in my Java web application (standard sort of Java web app using Stripes for its MVC implementation, Spring and Hibernate)? I'm deploying my war file on Tomcat 5.5. I only want SSL

  • Java web app running under tomcat hangs 2010-06-23

    The java web app works fine with fresh tomcat recycle. After working for sometime, it hangs. No logs or exception appear at all. A tomcat recycle again brings back the web app to working state. What is the best way to debug this problem? Are there an

  • loading xml file in java web app 2010-07-06

    I need to load log4j.xml config file in my web to initialize logging. log4j.xml is in package com.test.config. when in j2se java app code InputStream input = ClassLoader.getSystemClassLoader().getResourceAsStream("com/test/config/log4j.xml"); resturn

  • What is the best practice to deploy database config (username/password) with Java web-app (web.xml)? 2010-09-21

    I have a Java web-app using standard web.xml and servlets. At the moment, I'm using the <context-param> tags in web.xml to define the database configuration (JDBC url, username, password, etc.). These are picked up by a servlet in its init() me

  • Library to integrate Google's OAuth/OpenID hybrid in Java Web App? 2010-11-01

    I'm building a Java web app that needs access to a user's Google Calendar data - therefore I thought the OAuth/OpenID hybrid is the best way to go. What's the best library to handle the job - and reduce the amount of code on my end? I tried openid4ja

  • Rapid, Ajaxian and Indexable Java Web App? 2010-12-22

    I am search for a Java web app with the following characteristics: Allow Rapid Development Has built-in support for AJAX Indexable by search engines (i.e. the output is HTML not JS) Provide clean URLs (example.com/path/path/file) Thanks. ------------

  • Any serious problems when making an old java web app run on new IE 8 browser? 2010-12-28

    I need make an quick estimation on project (not sure we got): It's an old banking CMS java web app, but the UI aimed for getting near the winform style: Server: jdk5, weblogic 9 (JSP 1.x), only use weblogic internal servlet (not strut...). Client: wi

  • Possible to open/manipulate a Java Web App in .NET (C#/VB)? 2011-01-16

    I use a Java web app (app/, you'd need to sign up, but it's just a java web app), however I'd like to automate its functionality inside of a .NET application (C# or VB, doesn't matter, I'd prefer C#). I've tried searching but unfortunately "Java web"

  • Guidance Creating a "Basic" Java Web App 2011-02-08

    I have limited exposure in creating a Java web app from scratch, and was hoping that some of you folks could help provide me with some insight. Basically the flow of the application is as follows: 1.) User logs in (Authentication + session handling)

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.647 (s). 13 q(s)