recently i discovered Google Charts and it will be very good tool for me. I'd like to create web application, so i started learning java and java servlets (JSP), and also start reading about Spring. But.. this variety of frameworks, servlets and all stuff related to creating web app is difficult to understand for me..
My goal is web application with charts with values from my Firebird's database.
I'm programming in Eclipse.
I've noticed that on stackoverflow are few topics about database and google charts, but i'd like that somebody could show me way of achieving my goal, without learning everything about java.
If you are using Google Chart, its just a URL you are generating for your JSP. You don't have to learn anything special, other than how Google charts works. If you are using a database you may need to learn JDBC or a database framework.
Related
For a school project we need to create a Web app with Java and Spring. We also need some sort of cms so we wanted to use wordpress in our app. I have searched for a way to use wordpress within our application but can't seem to find the fitting answer.
Please help :)
Since Wordpress is a PHP-based application, you cannot use it directly in Java web app. Depending on your needs, you might be able to integrate the two by running your Java web application side-by-side with PHP server with Wordpress and share the data via database.
I am writing a Java program for my workplace, to help catalog pricing with several parameters involved. The current program implements JComboBox, along with other Container objects.
I have realized that our workstation will not run a Java program through Windows due to protective limitations, so I am hoping to transition to Google App Engine, since we can load websites much more freely.
The problem I have run into is that JComboBox doesn't run through Google App Engine. In fact, none of the Containers I was using will work in Google App Engine. The tutorials on Google Developers haven't provided the information I need.
Where can I find information on what objects I can use in Google App Engine to simulate a GUI with pop-up menus and buttons?
(I am using the Google Plugin for Eclipse.)
Maybe this link will help you, it lists all compatible frameworks: http://code.google.com/p/googleappengine/wiki/WillItPlayInJava
For a higly responsive GUI, I suggest you take a look at the GWT: http://www.gwtproject.org/examples.html
In a nutshell: GWT allows you to write web applications with Java. Some/all of the Java is converted into JavaScript for better usability.
If you want to use Google App Engine (GAE) you can either use GWT for a standard GUI or a Java Webframework like Vaadin or JSF.
I need help with these, I am currently developing an a desktop aplication in java with netbeans IDE.
One requirement of the app is that must have a map on it.
I was serching and i find these: https://today.java.net/article/2007/10/24/building-maps-your-swing-application-jxmapviewer.
But i try to downoad the JXMaptKit or the JXMapViewer but i dnd't found it.
Can anyone knows a workaround of that problem or an example that i can use?
Thanks!
PD. the app that i'm currently developing is for academic purposes.
You might want to have a look at a modern JavaFX 2 framework which uses Webkit-based WebEngine to render a webpage. Here is a Google Maps demo: http://fxexperience.com/2011/05/maps-in-javafx-2-0/?
I want to display data queried from GAE datastore in a nice way (graphs, etc.)
What is the best way to do it?
As I'm already working with GAE, perhaps there is a google API for that? The only thing I found online is Chart.js but I need to channel the JS into java which seems complicated.
Any advise will be welcome, Thanks!
I think a better way is to do the charts from the browser not the server. Just pass your data to the js and use google charts to display them. There are tons of examples and a playground for google charts.
GWT is a natural web front end for GAE applications---the Eclipse Google plugin integrates GWT with GAE, and the GWT tutorial includes a section on GAE. Several charting libraries are available, for example, http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted. Moreover you can build your own in HTML5 with the GWT Canvas.
I need to develop some jira gadget.
The gadget must have a chart and the possibility to insert external data and diplay it in the chart.
I have been trying the tutorial on atlassian documentation but I don't see any instruction on how to insert charts and how to do it, I think are made with JQuery (if it's correct, there are sample to use? I'm not really in to JQuery). Another problem that I found, is that there is no much explenation on how to get data from Jira (directly). I have seen the "jira api" (all the java interfaces) but I couldn't really get them work.
Anybody that know some better tutorial, gadget source example or that can help me on getting started?
Thanks.
I agree, developing JIRA gadgets with charts is harder than it should be. I have spent some time recently creating a plugin for a client that uses the JIRA system gadgets with some changes and it has been too much work. The charts in JIRA gadgets are created using JFreeChart.
If you can use an external visualization library such as Google Visualization then this example may help: https://labs.atlassian.com/wiki/display/JUA/JIRA+User+Activity
Change the pom.xml to refer to JIRA 4.2 at the bottom in two places and it compiles fine using the usual Atlassian PDK.
~Matt