Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I know this might be stupid question but i am new here. I want to create a mysql database and implement it using java or php and attach the working database to a cd. the question is do you know guys know any online courses to help me learn how to implement mysql with java. and is php needed or only java and mysql needed. i have good knowledge about java but i am new to databases. i just know some sql and i used to use access to create database. my database needs to store info and enable different users to register and log in and order and my database should store what they order. i thought lynda course essential mysql with php but i am not sure if it is what i am looking for. sorry guys it is very stupid but i never used php or mysql and i am looking just for a starting point. thanks for help.
Please follow the following links. Will be helpful for you.
Java + Mysql sample->Mkyong
Java + Mysql sample->vogella
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a "basic" Java app that works somewhat like a server (listens to certain ports).
I want to add a database to the project so that I can interact with certain tables based on the data from the listened ports (basic operations - no alien-technology.
I am looking for a solution to implementing the database into the project so that there is no need of any "help" from outside of the app.In the end resulting and a "portable" app, that can be ran from other operating systems without any prerequisites (installing different services, etc).
I have seen solutions like H2, implementing MySQL services (way too complicated for what I need),Java GO, but I need something far less complicated, like C# and database connection to an Microsoft Acces database.
Any ideas?
You might want to look into JavaDB or SQLite. Both can be embedded into your application, and can be run fully in memory (no persistence at all) or backed up by files.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I’m currently developing code meant to interact with the API of the Bitcoin exchange with an algorithm deciding whether to buy or sell and all. However, I can’t have my laptop running 24/7, so I was wondering, if there exist another option, like some sort of online/cloud IDE for java, which had a workspace to handle files, and could run my program for me - possibly for a small fee? Thank you :)
What you are looking for is How to Deploy a Java Applet. Here is a nice tutorial.
http://docs.oracle.com/javase/tutorial/deployment/applet/index.html
If you want your applet to be available from anywhere, you will have to embed it on a page that is hosted on the Internet. Getting a page hosted costs money, especially if you don't host it yourself, but there are thousands of well-known companies that provide this service. I can't provide any advice on which one is best, for fear of being swallowed alive by StackOverflow.
Once you have a page hosted, you can embed your Java Applet by following this tutorial.
http://www.echoecho.com/applets01.htm
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to find a way to run an SQLite database in memory, or some form of database that can host itself in memory. It is very performance orientated and I cannot afford the IO that a standard file-based system would use.
I originally went with SQLite is due to how keeps itself to one file and doesn't require an additional service to run, unfortunately I can't find a way to run it in memory though.
I've looked at options such as HSQLDB, although it doesn't seem to be what I am after.
To run SQLite in memory, just use the database name :memory:.
H2 database is an open source and pure Java database engine that supports in-memory databases.
Ditto for Apache Derby
Both can be run inside your app via embedded mode, instead of being run in server mode.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have multiple SQL queries (SELECT statements using FROM and WHERE - standard), and was looking for a parser in which I can feed in SQL queries as text and gives out the column names being used and corresponding table and schema names. Parser should take care of aliases and joins to notice distinct column names that are being used.
Please give me ideas to use a java library and also an exel API because the queries are in EXCEL cell. Would be great if to get something. Thanks
I would code an SQL parser but don't want to reinvent the wheel and not confident that I could make it work completely. Thanks for your input.
Please let me know if you know of parsers in other languages that would work.
Thanks
I had to do some SQL parsing a short while ago. I used GSP: http://www.sqlparser.com/
It's closed source and not free so GSP might not be an option for you. I wasn't able to find a free SQL Parser for Teradata so GSP was my best option. If you decide to go with GSP, the Java docs aren't that great. Your best bet is to find example code from the examples section on their website and work from there.
Apache POI is a good API for excel: http://poi.apache.org/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Could someone please show me where to go for some decent tutorials for setting up ibatis using a sybase database.
There seems to be very little information out there on this and most of it uses mysql which is no good!
Oracle/Sun has a web page on the connection info you'll need at Sybase JConnect Driver Configuration. You'll use the same IBatis property names for any db. You can get the JDBC driver, if you don't have it already, at Sybase. Once you get the connection set up then most of the tutorials should apply to any db. Primary key generation will probably be the most db specific issue to resolve.