Book to walk you through java APIs? [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I saw this post :
https://stackoverflow.com/questions/441198/has-anyone-learned-how-to-program-in-21-days/441224#441224
and I'm not familiar with java APIs, which books do you think will really help me get familiar with those APIs?

Java in a Nutshell, David Flanagan

Java has lots of APIs! Which ones are you interested in becoming familiar with?
What's nice, though, is that Javadocs tend to make APIs easy to learn, by providing method signatures and short descriptions.
Many APIs also have more in-depth tutorials online that you can read. In many cases this can be easier / more accessible / cheaper than buying books.
I would start off with Java Collections, as they are used in most Java applications: http://java.sun.com/docs/books/tutorial/collections/index.html
Note that this is one of Sun's "Trail" tutorials, which are very helpful. Check out the others as well, for those libraries that you are interested in learning. Here is the main index: http://java.sun.com/docs/books/tutorial/index.html

Effective Java by Josh Bloch

You should really start at http://java.sun.com/docs/books/tutorial/index.html
These tutorials are well written, and will get you up to speed quickly. For all the details, go to the documentation at http://java.sun.com/javase/6/docs/api/
If you insist on a book, Thinking in Java by Eckel is not bad, though Eckel can be a bit longwinded and obtuse.

Java Cookbook contains examples to many API's
Then javadoc can be used to adapt to own requirements.

Java 7- complete reference This books not out yet but it might help a lot along with the java docs and all the additional material the others have mentioned.

Related

Concerns regarding documentation of libraries in java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I was asked in class to look for libraries along with their operation and documentation type. This is the first time I'm hearing or having anything to do with library documentation. I tried looking for some form of clear and concise explanation of what it is but I don't think I've actually understood what it is and its importance.
Can someone explain to me what is meant by documentation type and where can I find more details of a particular library's documentation?
Documentation has all the information you need to make use of the library. There are code samples, tutorials, developer guides, API documentation, and more to quickly understand the library and use it.
Actually API documentation is mostly developers look while using particular library.
It has technical content deliverable, containing instructions about how to effectively use and integrate with an API. It’s a concise reference manual contains all the information required to work with the API, with details about the functions, classes, return types, arguments and more, supported by tutorials and examples.
If you talk about JAVA 7 https://docs.oracle.com/javase/7/docs/api/ is the documentation.
Java APIs are most often documented with JavaDoc. Whether it is generated and shared online or with the library varies from library to library. Other types could be wiki pages, web pages, or other text docs, manuals, reference materials. Pick a couple of popular libraries and then look for their docs. What did you find?

Simple open source DHT implementation in Java for learning purposes [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for recommendations for a simple open source implementation of a Distributed Hash Table in Java to play around with. No fancy features, just for learning purposes, no production functionality needed. It should be simple to set up (e.g. 1 physical machine with n-JVMs) and well documented preferably with some examples, tutorials or starting guides.
Research yields these candidates: FreePastry and OpenChord but I'm not fully convinced they meet my criteria simplicity-wise.
Have you got any experience with these or other implementations? Recommendations?
Thanks & adios
There is TomP2P on Github.
Maybe JDHT will fit the bill. I haven't checked it out myself, but it's written at a university, sometimes that means it's simple and used for teaching. :-)
I have been working on an implementation of Kademlia lately. It's very simple to setup and use and it's well documented. There are several tests written that demonstrate the different functionality as well as a starting guide in the Readme.md file itself.
You can use openkad
I started with free pastry..I've had a great experience with it. It was very simple to set up and run a ring of nodes. I've been mainly using PAST (File storage) and its been quite easy to get running. I'd suggest having a look at the PAST tutorial here. https://trac.freepastry.org/wiki/tut_past
The code is over simplified in my opinion but you say that is all you need so I guess thats ok.

design patterns in java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I want to learn core java design patterns.
Could any one of you suggest good pdf where I could know about the design patters in java with simple examples.
Thanks in advance :-)
Well, before to reply, I would like to remind you that there is a site, on the interweb, that has a little less anwsers than StackOverflow, but that may, sometimes, with the proper query, give you smart replies.
People call it "google". You simply enter your query, and it gives you the replies, like
Design patterns in Java
The design pattern Java companion
Java design patterns reference and examples
J2EE design patterns
From IBM and its in PDF!
http://www.freejavaguide.com/java-design-patterns.pdf
The book about design patterns is called Design patterns - elements of reusable object-oriented software.
It is not specifically for Java (written before Java was created), but the object-oriented concepts are clear.
Wikipedia lists and explains all patterns included in that book.
O'Reilly - Head First Design Patterns
I found the approach really interesting and less boring than most design pattern books, examples are really easy to understand... All in all well worth the investment, got the ebook version (you can choose from pdf, mobi and epub) for $15 on sale from O'Reilly site.
http://www.javacamp.org/designPattern/
http://en.wikipedia.org/wiki/Design_pattern_(computer_science)
Generally, there is also a Java implementation for each pattern, together with examples.
I Suggest you GRASP principles, it gives you a good basis to improve your design skill.

Where can I get started learning about Rule Engines? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently designing a Java application where a Rule engine could be useful. Where is a good place I can learn about how to use them, how they work, how to implement them, see samples, etc.?
The Drools documentation includes a lot of useful, general purpose information. Especially chapter 2, which covers rule engine basics, knowledge representation, etc. It also includes a nice recommended reading list for coming up to speed on rule engines and expert systems.
For most rule engines, a basic understanding of the rete algorithm usually comes in handy for writing efficient rules. I have personally found the Doorenbos paper referenced in the Wikipedia article to be the clearest technical explanation.
Also, here is a list of open source rule engines in Java.
You might want to read "Should I use a Rules Engine?" from Martin Fowler's blog.
I have worked on a project where we built our own (very simple) rules engine, with the intention to move to a general rule engine when things got too complicated. Never reached that point though, the system has been running happily with the simple homegrown engine for several years now.
I found this site pretty helpful. Are you looking at building your own, or using a 3rd party library?

RECENT Java References? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 months ago.
Improve this question
I'e been programming Java forever, but have been away from it for a while. Can anyone recommend a really good Java reference, where "really good" is defined by "Good coverage of the language, detailed coverage of recent extensions, and written for the technical reader (not a "for Dummies" sort of book)"?
As well as references saying what has changed in the languages (which other answers already cover better than I could) I can't recommend highly enough the Second edition of Effective Java by Joshua Bloch - which explains the most effective ways of using the language.
For anything to do with concurrency, get Java Concurrency In Practice.
As well as helping you avoid most of the many nasty pitfalls awaiting you, it gives a very good treatment of the new java.util.concurrent API memebers for Java 5 and 6.
Bruce Eckel's Thinking in Java 4th Edition
i've always liked cay horstmann's books: http://www.horstmann.com/corejava.html. these are 8'th editions. and there is gosling's http://java.sun.com/docs/books/javaprog/. haven't seen anything for 1.6 yet.

Categories

Resources