First step on NoSQL and Java API - NoSQL Database

Hi, all!
A long time i was Oracle DB developer. But i'm not a great expert on Java. Nowday i want try and learn Oracle NoSQL database. I already read documentation, but i don`t understand how start.
After reading i understand main principles.
With documentation support a can start kvlite instance.
I want write first program, which can do usual thing (insert, select, delete, update...). But i don`t can do it, even using the documentation.
1) Code listing in the documentation are not complete, it is incomprehensible code snippets.
2) I don't know how use it(best practices), make any jar, or run on client machine...
If it possoble give please some examples, and some tips to start working with NoSQL database.
Thank you in advance! 

You may need to first learn more about writing Java programs. There are two example programs included -- have you looked at them?
--mark                                                                                                                                                                                                                                                                                    

I have not practical experience programing on Java (i look some master class and read book by Bruce Ekkel).
I dot know how start...
I look some examples in http://docs.oracle.com/cd/NOSQL/html/GettingStartedGuide/Oracle-NoSQLDB-GSG.pdf, but it is not full listing, and i don`t know how use it.
I need any reference on practical examples.
Thank you in advance! 

Look at the examples in the NoSQL DB distribution. They are in the "examples" directory.
--mark                                                                                                                                                                                                       

Related

Neovew JSP starter help.

I need to create JSP's to run on our Neoview. I've have never done any Java programming. Only Mainframe programming. I've downloaded the JDK 5.0 version (compatable with our Neoview version). I'm pretty much at a standstill now. Any help in getting me started? 
You picked the worst-possible way to start I suppose. At first, you need a JEE JDK as well. Then you need to learn Java, and how web applications work. Then you can go write the JSP. Assuming that it's a trivial JSP. If you really want to go that way, a lot of tutorials are available online, even from Sun.
What would you answer to someone who never worked on a mainframe if he asks you how to start in writing a fairly advanced program on it? 
Unfortunatly I dont really have a choice. I need to get it done and dont have any resources. I'm not worried about the stored procedure part. That I can handle. It's just the Java part that is new to me. This is the only way to create stored procedures on Neoview.
I'll search around for a JSP tutorial. 
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro.html
But I don't think it's doing you any good. In fact, I cringe whenever I hear "Stored Procedure" (or anything else DB-related) and "JSP" in one sentence. I just hope that the JSP is not supposed to connect to the database and that you need it for some other stuff. I never heard about Neoview, so I give you the benefit of a doubt. 
ronazbill wrote:
Unfortunatly I dont really have a choice. I need to get it done and dont have any resources.Wow. Just wow.
Failure is imminent. 
well at least read through the first chapters of this book:
http://pdf.coreservlets.com/
Try to learn what servlets are and how to combine them properly with JSPs. If any of this is too overwhelming, then please also refer to the java tutorial.
http://java.sun.com/docs/books/tutorial/

Java and mySQL??!

Imagine this, I am developing a program in PHP and storing some information into a mySQL database.
The thing is, I really want to access this database in Java and use it. (Accessing it from the web, of course.)
I've searched the web, but with no avail.
If you could point me in the direction of some good articles/tutorials/whatever or something, it would be greatly appreciated.
Thanks,
Mike 
Imagine this google search for java mysql.
[http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2006-33,GGLG:en&q=java+mysql]
Actually no need for imagination, there it is, with tons of info for you.
I can't imagine how your searched the web and missed that.
JSG 
[http://dev.mysql.com/doc/refman/5.0/en/connector-j.html] 
I think when people write things like "I've searched the interweb, but no joy I find" when they really mean is that haven't lifted a finger and want you to do all the work for them, including spooning in the pablum. 
I have already looked at most of the things in the search he showed me. I am more interested in things that people recommend, than something that comes from a search.
So how about this, can you give me something that you recommend I read, rather than slamming a search page in my face, because you know, I've never heard of Google in my life. 
Crazymik3 wrote:
I have already looked at most of the things in the search he showed me. I am more interested in things that people recommend, than something that comes from a search.
So how about this, can you give me something that you recommend I read, rather than slamming a search page in my face, because you know, I've never heard of Google in my life.Yes, well then, you either don't know how to search, or are lousy at it. When in doubt trust the Tutorials and examples that come from the vendors. I.E. Read Sun's JDBC tutorials and the MySQL Connector/J manual (as that has complete examples for the varying MySQL Driver Options, as well as all the normal JDBC actions). 
Hey, here ya go: Merry Christmas--
1 -- Use a Servlet on the Server Side along with your WebServer.
2 -- Use applets or a client from your client side
You'll need to do JDBC on your webserver side from your Servlet.
Don't know what any of those are: read the Java Tutorial. 
Crazymik3 wrote:
Imagine this, I am developing a program in PHP and storing some information into a mySQL database.
The thing is, I really want to access this database in Java and use it. (Accessing it from the web, of course.)Just so you know you have a ways to go. You need to learn JDBC which is not trivial. And you need to learn about Servlets and J2EE which is also not trivial. 
Crazymik3 wrote:
Imagine this, I am developing a program in PHP and storing some information into a mySQL database.
The thing is, I really want to access this database in Java and use it. (Accessing it from the web, of course.)
I've searched the web, but with no avail.
If you could point me in the direction of some good articles/tutorials/whatever or something, it would be greatly appreciated.JDBC tutorial.
[http://java.sun.com/docs/books/tutorial/jdbc/index.html]
After that you need to figure out the architecture (not code) of the system that you want to implement to achieve the internet part. As implicit in another post an J2EE container is one such solution. Buying a book or three on that subject would be better than trying to find the same via 50 internet sources. 
I appreciate all the help, and the links that were given.

Java Codings Needed

Hello Professionals,
I want Java codings for All Types of Image processing Tasks
I can use that In my Research Education too
I will be helpful when I get This, and I can help some more persons too 
The Java™ Tutorials: [_Working with Images_|http://java.sun.com/docs/books/tutorial/2d/images/index.html]
db 
I'd also like to suggest a great resource that I often use when I run into problems like this, called [Google.|http://www.google.com]
If you have any trouble using it, please come on back and ask. 
Have a look at how the Java API works.
'Java Platform SE 6' - java.sun.com/javase/6/docs/api/
i'm sure there's some library classes in there which you can use.
Else you can always find actual code in www.koders.com. However i wouldn't recommend that unless you run out of options as using already code without knowing what it does is bad and you won't learn anything.
Theresonly1

Standard Java Application file structure

I am posting this topic here coz, the forum for netbeans has been closed. And I m really in need of the solution. My problem is that I am developing a desktop application viz. E-library for bilnd people. The application is simple where i have to just develop the interface where from the user can add books into the database, can open a book and listen it(i.e. read), also should be able to search the books on certain parameters. I am using netbeans as a development tool. Here, I am not getting the file structure,
for e.g.
What is the file Main.java?
What is its use?
Shall I have to alter it?
Or, its alteration depends upon the requirements of the application under development?
Where I have to write my application logic?
Shall I have to write it separately or in the source tab only next to design tab?
Any help would be appreciated. Please, help.... 
cabir wrote:
I am posting this topic here coz, the forum for netbeans has been closed. And I m really in need of the solution. My problem is that I am developing a desktop application viz. E-library for bilnd people. The application is simple where i have to just develop the interface where from the user can add books into the database, can open a book and listen it(i.e. read), also should be able to search the books on certain parameters. I am using netbeans as a development tool. Here, I am not getting the file structure,
for e.g.
What is the file Main.java?It is a Java source file. This is covered in the most elemental of tutorials for NetBeans.
What is its use? It is the entry point for your application.
Shall I have to alter it? I don't think I'd let you near any of my apps.
Or, its alteration depends upon the requirements of the application under development?Depends.
Where I have to write my application logic? That depends too, it sounds like you need to learn to program before you try messing around with an IDE or GUI Development Tool.
Shall I have to write it separately or in the source tab only next to design tab?That depends.
Any help would be appreciated. Please, help....Your questions are of such a fundamental level; it is blatantly obvious that you haven't taken the time to read the Tutorial on NetBeans, and possibly even need to do a refresher on the Java Tutorial. You have much larger problems than what "Main.java" is and what it does: you need to get out the tutorials and spend some time with them, after all, if it's not worth a few minutes of your time to learn the fundamentals, then why would you ever consider it would be worth it to any of us to spoon feed you? 
Thanks Morglar!!! For your valuable help>
But one thing that I want to bring into your notice that it is not so that I have not taken any attempts to find out what "Main.java" is? I have searched for it on the help contents of Netbeans but not found anything useful. If you have read the help of netbeans you might knew how descriptive the help of netbeans is? As far as java concepts are converned, I know that Main method is the beginning of any program whether java or c++ or c or in.net. I am really happy that you still answered my questions, but I would be more happy if you could suggested me some sites where the proper help for Netbeans is available.
Thanks once again
Cabir 
cabir wrote:
Thanks Morglar!!! For your valuable help>
But one thing that I want to bring into your notice that it is not so that I have not taken any attempts to find out what "Main.java" is? I have searched for it on the help contents of Netbeans but not found anything useful. If you have read the help of netbeans you might knew how descriptive the help of netbeans is? As far as java concepts are converned, I know that Main method is the beginning of any program whether java or c++ or c or in.net. I am really happy that you still answered my questions, but I would be more happy if you could suggested me some sites where the proper help for Netbeans is available.
Thanks once again
CabirYou can search the help file all day long, that is not a tutorial. I have already told you how to get what you need, but let me reiterate it again: get out the tutorial and go through it (study it closely). You do not know the most fundamental thing of the product you are choosing to use--study the tutorial and you will get your answers very quickly. 
You might find tutorials at http://java.sun.com/docs/books/tutorial/index.html

plz help setup java refrence directory

I'm new to java and comd from an Actionscript 3 scripting background......I'm specifically Programming for the Android smart phone.....however this requires java programming alongside the Android SDK. Now with the AS 3 background alot of the java programming makes sense and i'm able to follow it fairly well my problem is i can't find refrence material such as what imports are needed for a particular method or even what methods(sorry if my terminolgy is wrong) are available and what they do......so in overview ....I have the IDE setup"eclipse" and have basic syntax knowlege......now i need some refrence material so i can piece together an application. Please help me set up my refrence directories/files 
Is google broken?
But you'll probably want to take a look at the API.
Sun (er, Oracle) has a bunch of [tutorials |http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/] available online. 
No google isn't broken that api link you just provided is what I've been looking for all day long....i finally got fed up looking in the wrong places and decided to ask some questions......Thankyou sir for your time and especially the link.

Categories

Resources