|
The .db extension on the file tells us nothing, because it depends on the program that is generating it as to what format it takes. If you are interested in using databases from Java, and Java itself, then your time would be better spent studying the Java Tutorials[^].
|
|
|
|
|
Ah, yes. I just got familiar with that file extension meaning nothing. I actually tried The Java Tutorials but I had a hard time understanding everything there. Perhaps I didn't had enough programming experience yet because I think they assume you've had C++ knowledge already. So I'm currently learning Java with other tutorials.
Anyway I'm familiar with MySql.
|
|
|
|
|
extranghero wrote: I had a hard time understanding everything there. Perhaps I didn't had enough programming experience yet because I think they assume you've had C++ knowledge already. No, you should be able to work through those tutorials without any previous programming experience. The introduction starts from the very basic concepts.
|
|
|
|
|
I think what you mean is to have an embedded database in your application. Well in that case, you have a number of choices. I would suggest you look at [Hypersonic SQL^]. It is lightweight and quite mature.
Another option is to look at [Sqlite^]. I have not used it in a Java project before, but it is quite a nice and fast little database.
|
|
|
|
|
Derby is another choice. Might be better for someone learning java.
|
|
|
|
|
|
Alright I'll also read about this. Thanks.
|
|
|
|
|
Thanks! I will try to have a look at HyperSonic SQL. Hope this will work for me.
|
|
|
|
|
A great thing about SQLite is the licence agreement which includes the text
"Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original SQLite code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means."
Nice to have that kind of freedom.
|
|
|
|
|
Hello Dear Friend, I'm also having the same question. When you got to know the answer or code for this please do share it with me.
Gokul Gawande
|
|
|
|
|
Well I think I'll settle with HyperSQL. I downloaded it. Comes with a nice documentation and that's what I'm reading now to learn it. I discovered the embedded database I saw on the example on my original post was something called H2. I think it's similar.
|
|
|
|
|
I have created some java codings but i want to convert to a exe file.
|
|
|
|
|
|
i want ask java programing can do what effect in software?
|
|
|
|
|
One thing it can't do is parse garbled english.
|
|
|
|
|
|
i dont know any programming language but im intrested so help me i like java . java basics and programing how to no help me
kickan
|
|
|
|
|
i dont know any programming language but im intrested so help me i like java . java basics and programing how to no help me
|
|
|
|
|
The first thing you need to do is to learn how to use Google to help you in your research. A quick search for "Java tutorials" would have found you The Java Tutorials[^]; clear, concise and useful for anyone new to programming.
|
|
|
|
|
JAVA is Free: Unlike programming languages like Dot Net where you need to pay Microsoft to get license copy software for application development, JAVA is FREE to download. Due to this JAVA is very popular over other paid programming languages.
Java easy to learn: JAVA programming is easy to learn was compared to C or C++. JAVA has a similar syntax like C++.
JAVA is Platform independent: JAVA stands true to its tagline "Write once and run anywhere". You create JAVA applications in Windows and run it in Linux or other operating systems and vice versa.
JAVA Open source Libraries: JAVA has a rich set of API and Documentation, which helps in developing your applications faster. Java has global talent pool to help.
Garbage Collection: JAVA has a powerful memory management technique i.e. called garbage collector, so Programmers do not have to worry about memory issues in application.
|
|
|
|
|
let,
upper bound = 100
lower bound = 60
starting seed = 62
program prints random number starting from 62 at regular time intervals within this limit.
How can i implement this program in java?
|
|
|
|
|
|
I noticed in one of my professor's MVC Java programming projects he put a Controller class inside a model package.
Is it true that in MVC often people use just MV and don't bother with the C because they don't think it's worth creating another layer just for a couple of extra classes?
It seemed illogical to me to put a controller inside a model package.
|
|
|
|
|
Why are you asking here, and not discussing this with your professor?
|
|
|
|
|
You can split Control and View by doing that.
It has several advantages: one of the biggest to me is, that I can change the view without touching the behavior of the UI.
I can also use one Controller for several Views, which gives me more control about what's happening.
But I also use just MV, addressing anonymous event listeners in the view's code. Mostly on dialogs or when "quick&dirty" is required.
regards Torsten
I never finish anyth...
|
|
|
|