Suggestion needed for learning Java [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
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.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I need some advice in learning Java and getting Java certification. My target is to get Certified. I am acquainted with C, C++, feel quite okay with the topics.
As I already mentioned that I need some suggestions about, how to start Java and where to start. Please help me in this regard.
I already downloaded,
SCJP Sun Certified Programmer for Java 6.pdf
Osborne - The Complete Reference Java 2 (5th Edition).pdf
And some free Java tutorials, from sun website and other places
So, please suggest me what more I could do, and where else I need to look. Is there any better resource for Java Beginners? I really need to learn it fast. And yes, I am dedicated with all my efforts.
It would be nice if someone can pass me links to some online Java compilers.

Head First Java is a good book for beginners.
See the Oracle Java Tutorials section on Getting Started.
Also check out the question that has been previously asked
Best Java book you have read so far
Java Ranch is a good website for Java forums and FAQs
The book Java Language specification is also available online.
My suggestion is that you should get a hard copy of Head First Java.
It is the best book for beginners.
Java Compilers
Download JDK
IF you want to use an IDE then Download Eclipse
Want to use an online compiler? Use IDEONE

Apart from reading books and doing multiple choice question tutorials the best way to learn something is to actually use it. I suggest you start doing some actual programming in Java. Think of a couple of smallish apps and just start trying to use what you have learned studying.

Look for some books, they are really helpfull (and java doc of course!):
Google Books
I have read (spanish): Estructura de Datos en Java from Mark Allen Weiss, it is a GOOD beginning...
If you think you are OK with C and C++ then you are OK with Java, its easier to learn I think, good luck with that...
and of course search for JAVA API 1.6 on GOOGLE (i cant post more links sorry)

Can u able to suggest me some sites to
learn a bit easily...a tutorials. But
i need to learn with in short time.Iam
keeping my full efforts for this to
achieve.
Aside the Java Standard Tutorials, referred by #org.life.java, if you need to learn Java EE (Servlets, JSP, EJBs, SOAP, etc, etc, etc), con can check the Java Blue Prints, with lot of code examples.
Provide me some links ---> online free
compilers for java
You can download the last JDK from Oracle page for free. With the JDK you'll be able to compile.
Anyway, you better download a IDE to start programming. The easiest to learn is NetBeans. Other option, with more functionality and more customizable is Eclipse IDE.

Related

Learning java for android: do docs at android site also cover native java libs [closed]

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 am learning java for first time. I have found it's very similar to haxe and flash as3.
However, i am also learning android. And in that i have learned that android overwrites many native java libs to improve speed or something.
Now this creates a problem...i am learning java separately because tutorials about android assume you know java. And this means continuing this path will result in me learning it one way and then the right way. Wasting brain...
So can someone clear confusion. Are all libs covered at http://developer.android.com/reference/packages.html ...or java in android also support more native libs. How would i know which libs are added/overwritten by android into native libs..
also can you suggest what libs/methods i should know to be not stuck at every step.
By libs i mean packages and methods.
Look here for Android Tutorials and docs, and use the reference you've already found.
http://developer.android.com/training/index.html
You may find it goes smoother if you finish learning Java first. The GUI is completely different from Java, but works well. Some Java Classes from older Android API levels are missing some methods, but that is all documented in the developer reference.
Learn Java, skip the graphical / GUI part and you're fine, I think. You can use almost everything from plain java. There are just minor differences like using threads. But that's nothing to worry about.

Beginners Lucene tutorial [closed]

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've never done anything in Java before but I'd like to use Lucene for the search on a site.
I'm having trouble find a good step by step tutorial for a complete beginner at this.
Can anyone recommend a good tutorial?
Thanks
Along with user428747 answer, you can also read this article.
As well as this one (which is kind of old compared to the first one).
On a side note, if you want to use Lucene, did you consider using Solr?
It uses the lucene search library and extends it as you can read here.
The classics: Lucene in Action
this website might help you a bit..
http://www.lucenetutorial.com/lucene-in-5-minutes.html
This is not a direct reply to your question on Lucene tutorials (For that, my answer is same as some of the other posters: Bob Carpenter's Lucene in 60 seconds tutorial on the Lingpipe blog).
If you don't want to learn Java just for Lucene, any full-text search database (Postgres/Mysql/etc) should solve your purpose. In particular Sphinx is recommended.
This decision particularly relevant if you need your search app to have high performance / scalability (since you will be learning two things - Java and Lucene). Unless you have an in-house java expert, it is better to fight one war than two at the same time.
maybe apache solr is better for you: http://lucene.apache.org/solr/
If you're using Zend, why aren't you using Zend's PHP port of lucene? See here for a tutorial on it.

What's the most useful and complete Java cheat sheet? [closed]

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 need a cheat sheet for Java and started looking around, but could not find one that seemed "canonical" - which surprised me considering how widespread the language is. Could experienced Java coders please suggest a cheat sheet that is useful (organized so well you actually use it often) and complete (covers real-world daily usage) please?
By contrast, here's what I'd consider a canonical cheat sheet for Python: http://rgruet.free.fr/PQR26/PQR2.6.html
It is complete (syntax, types, statements, built-ins, common modules, idioms) and useful (well-organized: sectioned and hyperlinked; easy to search, and easy to explore).
Also, I have looked at the listing here already: http://devcheatsheet.com/tag/java/ and did not find a cheat sheet comparable to RGruet's Python cheat sheet above. The top listing in Google for "Java cheat sheet" is http://www.cs.princeton.edu/introcs/11cheatsheet/ which is fairly complete, but not organized to be useful. There's gotta' be something better out there!? BTW, it need not fit on 1 page. I'm aware of the Java API docs, but that's more what I'd expect a cheat sheet to link to, not be.
Update
Some SO members thought this question was subjective, but I think I explained my criteria to be fairly objective: completeness (content) and usefulness (presentation) are not hard to judge in this context. I've accepted one of the more useful answers, but remain surprised that Java doesn't have a canonical cheat-sheet.
This one didn't seem too bad.
http://mindprod.com/jgloss/jcheat.html
found one interesting cheat sheet here..
http://introcs.cs.princeton.edu/java/11cheatsheet/
This Quick Reference looks pretty good if you're looking for a language reference. It's especially geared towards the user interface portion of the API.
For the complete API, however, I always use the Javadoc. I reference it constantly.
Here is a great one
http://download.oracle.com/javase/1.5.0/docs/api/
These languages are big. You cant expect a cheat sheet to fit on a piece of paper
I have personally found the dzone cheatsheet on core java to be really handy in the beginning. However the needs change as we grow and get used to things.
There are a few listed (at the end of the post) in on this java learning resources article too
For the most practical use, in recent past I have found Java API doc to be the best place to cheat code and learn new api. This helps specially when you want to focus on latest version of java.
mkyong - is one my fav places to cheat a lot of code for quick start - http://www.mkyong.com/
And last but not the least, Stackoverflow is king of all small handy code snippets. Just google a stuff you are trying and there is a chance that a page will be top of search results, most of my google search results end at stackoverflow. Many of the common questions are available here - https://stackoverflow.com/questions/tagged/java?sort=frequent
It's not really a cheat-sheet, but for me I setup a 'java' search keyword in Google Chrome to search over the javadoc, using site:<javadoc_domain_here>.
You could do the same but also add the domain for the Sun Java Tutorial and for several Java FAQ sites and you'd be OK.
Otherwise, StackOverflow is a pretty good cheat-sheet :)

php equivalent to jython? [closed]

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 wonder if there is a php equivalent to jython so you can use java classes with php?
thanks
http://www.caucho.com/resin-3.0/quercus/
http://php-java-bridge.sourceforge.net/pjb/
I'm not quite sure what you are asking, since you are talking about two completely different things: a PHP equivalent to Jython, and accessing Java classes from PHP. So, I'm going to answer both.
Jython is a Python implementation for the JVM. So, the PHP equivalent would be a PHP implementation for the JVM. There are actually two that I know of: IBM's P8, which is part of Project Zero and Quercus.
However, you don't need to run your PHP on Java if you want to run it with Java. A PHP-to-Java bridge would be enough, you don't need a PHP-on-Java implementation. I know that at some point in the past at least one such bridge must have existed, because someone once told me that they used one, but that is about all I know.
I just googled php jvm and got a bunch of hits. Never tried any of them.
Well: Java Server Pages (JSP) are "equivalent" to PHP, but using java classes.
It's "equivalent" in that it's HTML with embedded java code, but not at all compatible to PHP syntax.
Fayer,
Try PHP/Java Bridge that integrates PHP and Java, as recommended in PHP manual (Java Class - dead- URL: www.php.net/manual/en/java.installation.php).
Please, let me know how it worked for you.
You may have to use Zend Server CE (www.zend.com/en/products/server-ce/), instead of Apache.
Best.

Online compilers/runtime for Java, C++, Python and ObjC? [closed]

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
Does anyone know of a good online compiler/runtime (for C++, Java, Python, ObjC etc.) that I can access on the web?
What I'm looking for is something that would allow me to type in a program in a web form and to run the program and see the results online.
(Let's not get into the why for now. Suffice it to say for the moment that I don't always have access to a compiler/runtime, and firing up an IDE is just overkill for testing out some code snippets)
I know of codepad.org -- but I'm looking for something better.
ideone is something better but what particular advence do you need?
http://codepad.org/
codepad.org is an online
compiler/interpreter, and a simple
collaboration tool. Paste your code
below, and codepad will run it and
give you a short URL you can use to
share it in chat or email.
Languages:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
Right now, you can use http://sagenb.org. This is a free open source online Google Docs-like programming notebook environment, which I provide (thanks to a generous grant from the National Science Foundation). Once you create an account and create a new worksheet, click on the box (fourth from left) labeled "Sage" and change it to Python. Now all the code you type in is evaluated using Python. The main drawback is that there are well over 30,000 users of this resource, so sometimes it is slow.
I found this online java compiler and runner. It works in realtime and also with threads. Amazing !
http://www.browxy.com
For C++, you could try CodeControl, Comeau or the one from code.vcer.net.
This one is good for ruby.
Here is an open source one: http://codenode.org, which supports Python and Sage well, but also aims to support other languages like Ruby, R, etc. Probably the best description of Codenode is "Google docs combined with Mathematica Notebooks".
CodeIDE is an ok one: http://www.codeide.com/
You can practice your SQL here.

Categories

Resources