As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have been told that Eclipse is a good tool for programming in certain languages. Is Eclipse recommended for Java programming? If so, what is the recommended Eclipse Package to DL for Java Programming at a university student level?
Eclipse is very well suited for java programming. In fact, it is one of the two major free tools. The other one is netbeans. The eclipse universe contains a lot more than java and it has, in my opinion, a broader scope than netbeans. To start you can use
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/indigosr2
which is especially for java developers.
At our university we start in the first term with another environment for learning java, with BlueJ. It has a much simpler user interface and it is better suited when you learn your first programming language.
Eclipse IDE for Java Developers is good for you as a starter
You can start with "eclipse classic" (get it here). You will also need a JDK.
Another nice IDE to try is netbeans.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Where can I download or view industry sample standard Java application source code for learn the coding standards and coding styles? Java EE or Spring based application would be better.
I would first recommend you to go through coding conventions by Java. You could then look at the standards that are following for its own API (Collections, ThreadLocal, java.util classes). src.zip located at $JAVA_HOME of the installation for accessing the sourcecode (IDEs should generally resolve it).
If you like to look at more, try other popular opensource frameworks like Spring, Hibernate and popular apache projects like lucene, camel etc
Also, it would be a nice practice to use findbugs and checkstyle to improve the quality of the code you write.
Hope this helps
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Interpreted languages are nice, I can write some quick, prototypical code (i.e. using an interactive shell) for the purpose of exploration before delving into production level code.
What is the best approach for this with Java? Currently I'm creating Maven projects with Eclipse, and exploring things in my test infrastructure using JUnit... but this is less then ideal.
You can also check out Eclipse's Scrapbook Page:
Menu>File>New>Other>(search for)Scrapbook Page
Why not use something like BeanShell ? It's a scripting solution for Java and offers a console-based interactive scripting environment.
Here's the quick start guide. Note that you can also start a BeanShell console from within Maven.
I've picked BeanShell here since it's the closest thing to Java, but interactive. You could pick another console-based JVM language such as Scala, Jython etc. They're more removed from standard Java since they're different languages, but still offer interoperability with your standard Java components.
You might want to try out JRebel for quick code tweaking. Or if you are into web development, check Play framework.
http://zeroturnaround.com/software/jrebel/
http://www.playframework.org/
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I've read this discussion on Stackoverflow, but it's been over two years since it was asked. I am a beginning Java programmer and have little knowledge of appreciated and widely-used libraries for this platform.
Of course I do use some libraries (JUnit, parts of Spring), but I'd love to have a list of libraries, that every Java developer should know (i.e. Hibernate, Velocity..?). I am interested in every field of Java applications.
What would you recommend for me (or any other beginner) to check out?
Here is a good list of Java libraries you should know about.
https://java-source.net/
Every beginner should spend more time learning core java. There are no all-around libraries. Most if not all libraries are problem/domain specific...
My oppinion...
Apache commons has many libraries (like copying a stream to another). In the Java EE web application area the Spring framework provided independent utility libraries (like file upload servlet filter and for dependency injection), that meanwhile becomes less important because of the simplifications in Java EE.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
is there something new about programming apps for iphone with scala?
Do you have some experiences with programming scala apps for iphone?
Thanks for any help!
It will be very difficult to make this happen. There's no JVM on the iPhone and it's probably too big to package it with your app.
There's work being done on an LLVM backend for Scala. Since there are code generators for the iPhone for LLVM, this is a path forward, but the backend is still a proof of concept, we still need a way to invoke Cocoa code from Java (not sure if something like that exists) and the Java standard library would need to be ported over as well.
But this would definitely be an excellent thing if it ever happens. Coding in Objective-C is definitely nowhere near as nice as coding in Scala.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm trying to assemble a workshop on OOP using Java and one of the things I want to try is to do a sort of autopsy of an application.
The ideia is to show the advantages os OOP through a real-life example of one, or more, complex applications.
My question is: can you sugest a good open-source java project, that is currently under development, and as a bonus is a application that is useful for college students.
Thanks in advance
Ricardo Gomes
This may be a stretch, but if your goal is to get students engaged it may not be.
Take a look at IBM's Robocode. It's an open source Java programming game. You could build / download some existing bots and do your autopsy on them. You could also implement a bot in a very non-OOP manor and refactor it into something more OO.
Do not use Eclipse. That thing is gigantic. It would take an experienced programmer a couple of months just to figure out how it all fits together.
How about HSQLDB? It's a mature project that's used in the real world, and it's fairly complex - but it's also limited in what it tries to do, so the complexity is still manageable.
You can probably look here: http://java-source.net/
My personal one would be something like Eclipse, which everyone uses, works well (enough), is very extensible, and written in Java. But of-course, that's a huge application