I'm trying to learn to use bigquery API to get data from google database and import it to another sql database. I'm using eclipse java what application project should I set up? what plugin should I install?anyone has experience with this?
I'm more of a C# person,I used windows app form before, dont know how to do that in java. can anyone give some advise? Thanks!
To be more specific,I simply want to create an ETL to get bigquery data to our datawarehosue,it doesn't have to be a UI,i just need it to run on the backend. I install google plugin4.3
Which project is the easiest for me to use? Any successful code to get data from bigquery servlet to somewhere else?
I don't know how to plug the code in from:
https://cloud.google.com/bigquery/bigquery-api-quickstart
Any instruction will be appreciated, thanks!
It sounds like you're looking for more of a general Eclipse tutorial than something BigQuery specific. You'd nominally create a "Java Project" to run simple Java code, but you'll need to set up the project to include your dependencies and so forth.
You may want to check these tutorials out : http://eclipsetutorial.sourceforge.net/totalbeginner.html
Alternately, you could Google for "eclipse tutorial" or "eclipse quickstart".
Related
this is my first question on stackoverflow and I'm really confused..
I'm new with java and very confused at this moment. I'm planning to create a java web service with spring that handles a webform and a portable scanner device. I get this project for my first in new workplace but I can't move on. I don't know what are the neccesery steps to succeed.
What I want from the Application running step-by-step:
Open in an executable file that
Open a new browser window on localhost and shows a form
Filling out form with input fields, checkbox items, dropdown list,
commentbox,
AND Option for file upload from local and/or call startScan() java method.
startScan() = take photo from device and saves it to project's root folder and rename it as formatted date: "yymmdd_hhmmss"
submitButton()
onSubmitButton() the form data should be saved in database that
later i can download as xml
I have read lot of blogs and watch tutorials but that causes me confused. JPA? Hibernate? REST? REACT? I would like to create a very simple app that can display the form on window browser that is easy to access with bootsrap.
What is the neccesery toolset for doing this as simple as possible?
mysql? postgresql? which of these I can implement, what should i install locally?
If I could came out from back end to front that would be awesome..
Goal: Create a localhost database system that handles the form and scanner device method in a fancy css view.
Now, I'm using eclipse with spring. What are the neccesery dependencies? what are the local requirements for this kind of project? Please, help me with any advices..
I am very grateful for everything
Thank you in advance
I designed something similar, a simple two-page web application with login functionality and application main page that supports database operations and scanning functionality.
I would recommend you to go step-by-step since documentation is also as important, to be able to clearly visualize the project objectives, to know the constraints before-hand, make modifications on-the-fly and as a reference for your peers.
As a newbie with Java development, these are some basic steps and links which I feel would be helpful:
Project Scope Document (Web based tool: Draw.io)
Project Plan Document
Site Map (Web based tool: Draw.io)
Front-end Wireframing (Web-based tool: Balsamiq)
Back-end Wireframing (Microsoft Excel)
Back-end Flow chart (Web-based tool: Draw.io)
Front-end development (Technologies: HTML5, CSS3, Bootstrap 3, JavaScript; Tool: Brackets)
Back-end development (Technologies: PL/SQL or MySQL, Java, JDBC, Servlet, JSP, JSTL; Tools: SQL Developer, JBoss Studio)
Integrating Scanner (Third-party Java APIs)
Technology Stack: This is a simple and very generalized stack preference. You could customize it according to your needs.
Helpful Links on getting started: Java Web Terminology, JBoss Hello-world tutorial, Simple Java web application
Tools: Draw.io and Balsamiq are easy to use web based tools. You could use Bootstrap to make a quick fancy front-end. Brackets is a nice front-end code-editor supporting live-previews. SQL Developer is a wonderful tool if you're using Oracle SQL. JBoss Eclipse IDE has in-built application server which you can use for testing on localhost.
Note: All tools and technologies listed here are either free or include a trial version.
Hope that helps!
I am using OpenTokSamples project for OpenTok API and in that I want to create session id and token id through java code and I implemented the code by calling createSession() method but its throwing error----> Could not find class 'com.fasterxml.jackson.databind.ObjectMapper', referenced from method com.opentok.OpenTok.. I searched a lot and found need to add Jackson-databind jar & Jackson-annotations jar but still the issue is not getting resolved. Please help me on this.
There is another Jackson jar which implements the json<->object mappers.
This jar is jackson-mapper-XXX.jar [1]
If you check the repo [2], it comes with gradle support pointing to the dependencies it needs to build.
[1] http://repository.codehaus.org/org/codehaus/jackson/jackson-mapper-asl/
[2] https://github.com/opentok/Opentok-Java-SDK
You are meant to create sessions and tokens using the OpenTok Server SDKs, not on clients (such as Android).
It sounds like you are most familiar with Java as a language, so I suggest using the OpenTok Java SDK and running it on a server. There is a very easy to understand HelloWorld tutorial in the samples directory, with instructions on how to use it in the README.md file. It will guide you to get the server running locally on your development machine.
An even more useful example might the Learning OpenTok tutorial for Android. It shows how to send a request to a server that returns the session ID and token. The server used in this tutorial is written in PHP, but for your convenience there is a one-click button for starting your own server on Heroku (instead of locally on your development machine).
I hope this provides you all the information you need to start generating sessions and tokens dynamically! Let me know how that turns out, and feel free to give feedback on the tutorials as GitHub Issues in those repositories.
Trying to download docs from the Google Docs using Java client library and getting some documents with type "script".
What is this type and what is the proper way to handle such kind of files?
Thanks.
Those are Apps Script files. Go to script.google.com to create a new Apps Script project.
You can learn everything about Apps Script on https://developers.google.com/apps-script/
I have created a Java project. Now I want to give it to the office as an .exe or something similar, to allow them to use it without installing any Java IDE. What should i do? My project contains a database and GUI.
What should i do? My project contains a database and GUI.
Deploy the app. and database using Java Web Start. For installing the DB, it would be necessary to use the ExtensionInstallerService (see a demo. of the EIS). Configuration for the DB can be stored using the PersistenceService (demo. of the PS).
See also references to the deployJava.js in the 1st linked page. It aims to ensure the end user has the right minimum Java needed to run the app.
I downloaded the DDD Sample Application (based on book by Eric Evans) and it uses a hsqldb. However, I can't seem to find how this db is set up. I opened the project in Intellij and everything builds like a charm. But nowhere do I find such a hsqldb... I'm not an experienced Java developer, so I'm probably missing something. Anyone that can answer this for me?
HSQLDB (also called HypersonicDB) is usually used as an embedded SQL database in trivial java apps. You can download it here. It's very simple to set up, and usually works just by having the JAR file in your classpath, the sample app should have the appropriate config.