Which build tool to teach? [closed] - java

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
While similiar questions have been asked, this one's focused on which is best/easiest to teach.
I'm giving a weekly tutorial at my university focusing on data structures and algorithms. Fromn time to time I introduce tools which may prove helpful in future projects like JUnit, Mercurial, Eclipse etc.. I plan to show them some kind of build tool but I'm not sure which one to choose. I by myself have very little knowledge about build tools, except a little experience in using make. It's more the concept of a build tool I want to show them, not a special tool per se. Which would be the most easiest/future proof/whatever tool to show them?
I've read a little bit about Gradle, which looks nice, but so far I think Ant could be a good choice (it's a Java course I'm giving).

Ant is more likely to be used in their future employment.
You may consider Maven, if you want to go through the problem of complex (and/or remote) dependency in projects

I will recommend Ant.
Just learn the basics with Ant. You can also show them an Eclipse project you're using and right-click on it and click export. Then write Ant buildfiles and export the Ant file Eclipse are using internally. Quite nice and can work for many as a good starting point.
You can also mention that Ant together with Ivy can handle dependencies quite similar to Maven.
And it's quite easy to write your own Ant tasks in Java.

You could give a brief introductory talk on make just to get the concept across of what a build tool is for and what problem it solves. I'd then focus most of the talk on Ant because it's a lot more common in Java development. Showing two tools will give you the opportunity to compare and contrast them. You could end the talk with a list of other build tools that are in common use, and maybe briefly discuss the strengths of each one.

Related

What are the state of the art to use vim as a java IDE [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 am using vim to code in R,kdb,C++. In my new job I'll start java and I was hoping being able to keep vim.
There are a few similar subject that are pretty old on SO.
Say I want to be able to get
completion (like YouCompleteMe)
snipets (like ultisnips)
syntax checking (like syntactic)
syntax highlighting
I do not want to pay for it (well don't really care but the compny would not allow it). I know about
eclim
vrapper
vimplugin
What are the +/- are there new contenders ?
EDIT: The general advice seems to be to stay on a vanilla IDE, though I'd be happy to hear about what people like/dislike about eclim,vrapper,vimplugin
I use and quite like viplugin with Eclipse. Eclipse is free, and viplugin doesn't cost much ($19 last time I checked). I know you wanted to avoid paying for tools, but maybe you could spare a $20 for your craft. I paid for my copy, which I also (quite legally) use at home.
Eclipse is written in Java and supports it very well. Are you working with in Java SE, EE, or ME?
If you are starting to learn Java you should stick with a plain editor and command line tools. IDEs are for speed and ease of use.
Netbeans is another option but in my opinion Eclipse is better.
For Android development you could use Eclipse (with ADT plugin) or Android Studio.
Sublime. It is commercial, $70, but one of the best. At work I have stopped using Eclipse completely in favor of Sublime with the SublimeLint and SublimeCLang plugins.
But, at home, I still use my beloved IntelliJ

What are actually viable on-premise platform as a service implementations? [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
Not sure if this is the right place to ask such question, maybe tell me where to move the question on another StackExchange site.
I'm evaluating cloud platforms and I have some business requirements to evaluate them against, so I'm trying to build small POCs for the products I found, but I'm not sure of which products I've included and excluded.
The PaaS I need is:
On premise: I have a private infrastructure based on VMWare
Java support: I have an IT dept that develops in Java language with Spring support
Can connect to local legacy services (DB2 via JDBC, IBM Queues and so on)
Complete: at least I need auto-scaling, monitoring, load balancing wth a comprehensive interface
Integrated (integrable) with IDE: eclipse or other Java IDEs
Integrated (integrable) with CI: automatable (scriptable) deployment to run with a CI like Jenkins or other
It seems to me there's much confusion among product offers. E.g. It's not always simple to verify if a platform is adoptable on a private data center.
Now I already have built two POCs and my attention is on these two products: vFabric and Stackato, but maybe I'm missing something important, so which are in you opinion the PaaS products that support the above technical requirements?
UPDATE
I also added to my list of viable solutions the following products/projects: Cloudify and Cloudsoft AMP.
I'm positively impressed by Cloudify and started to deploy it in a production environment for a limited set of applications.
You can also refer to cloud foundary. Since it is an Open-PaaS, it can be very useful for you and the things they don't have, you can create and contribute to them. So it will be win-win situation for both.

Recommended open source workflow engine in java for non-business kind scenarios [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other 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
My use case is not to model a business process workflow. I need a simple, easy to use and low learning curve workflow engine where I can model a simple workflow. I have a bunch of backend processes and each process needs to wait for the completion of previous process and also look at its status.
I see a whole bunch here but can't decide which one to use!
http://java-source.net/open-source/workflow-engines
thanks
You can use WSO2 Carbon Studio to model the workflow using the BPEL editor, then deploy the artefact in WSO2 BPS or Apache ODE.
You can use Eclipse Helios with WSO2 Carbon Studio 1.0.14
You can find a tutorial here.
Also this article explains a similar workflow which you have mentioned in the question.
The three most visible/active, in alphabetical order:
http://www.activiti.org/
http://www.bonitasoft.com
http://www.jboss.org/jbpm
I'd suggest going through the tutorial/quickstart of each of them to get acquainted.
Check out WSO2 Products
(source: wso2.org)
http://wso2.org/library/brs
http://wso2.org/library/bps
Imixs Workflow is an open source Java Enterprise workflow engine.
With the sub project Imixs Workflow Script you have an easy way to start with a workflow application based on JavaScript and jQuery.

Automated GUI Testing [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 writing a Java Desktop Application (SWING) using Netbeans IDE 6.9. I want to do automated GUI testing. All I know about testing is JUnit tests which won't apply for my GUI application. Is there a particular testing framework I can use for testing the GUI application, are there good ones out there? Which ones are easy to use (I need to do testing but I don't have a lot of time for that, however, I don't want to ignore that). My application is basically one frame, with three to 4 tabs (not a big one), my tests shouldn't be complicated, so is there a simple framework that will let me test my application fast and in a strong way to find bugs?
Thanks
I recommend the following open source tools (we are using them on our Java Swing applications):
UISpec4J - Non visual testing tool, very good for unit testing/TDD for the GUI application
Abbot - Is good for functional testing. Also have record & playback
You can use both or either one of them
From the commercial tools in my opinion the best is IBM Rational Functional Tester - it supports Java applications very well. However it is expensive and is focused on the record & replay approach which is not very reliable.
You can try "fest".
http://code.google.com/p/fest/
QF-test
Try Selenium or Watij.
Both frameworks open a web-page in browser and manipulate page elements. They can click a page element, enter data to input field, get a text or HTML of a specified element, etc. Watij in addition to that can emulate javascript events directly.

Is there a good standalone, lightweight, GUI-based Java debugging tool for the mac? [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'm a CS student, so obviously IDEs are a bit of an overkill for me. I mainly code with Vim (well technically MacVim) and compile and run using the terminal. In the past I usually debug by using print statements. However I feel that it's time I move on to more appropriate tools for my need. I have heard of and tried jdb but I would prefer a GUI one. Any recommendations guys?
Unless you're already extremely experienced with using another tool and love it to death, if you're doing Java, you should just use an IDE. You can go against the grain if you want, but I don't see the advantages for you. Eclipse and Netbeans are both free and excellent tools. It takes 2 minutes to create a new project thats ready to build/run with a single click. Syntax highlighting, refactoring, debugger, code completion are all things you will learn to love even if its a small program. If its complicated enough to need a debugger, its complicated enough to use an IDE.
I would like to suggest Eclipse for Java.

Categories