NetBeans Maven Java SE Application Primer Tutorial

NetBeans Maven Java SE Application Primer Tutorial

NetBeans Maven Java SE Application Primer Tutorial

Today’s NetBeans Maven Java SE Application primer tutorial shows a simple application project using Maven, which is a very powerful and dynamic application building automation tool. Let’s see below some of what Wikipedia says about Maven.

Maven is a build automation tool used primarily for Java projects. Maven serves a similar purpose to the Apache Ant tool, but it is based on different concepts and works in a different manner. Like Ant it can also be used to build and manage projects written in Java, C#, Ruby, Scala, and other languages. The Maven project is hosted by the Apache Software Foundation, where it was formerly part of the Jakarta Project.

Maven uses an XML file to describe the software project being built, its dependencies on other external modules and components, the build order, directories, and required plug-ins. It comes with pre-defined targets for performing certain well-defined tasks such as compilation of code and its packaging.

Maven dynamically downloads Java libraries and Maven plug-ins from one or more repositories such as the Maven 2 Central Repository, and stores them in a local cache.[3] This local cache of downloaded artifacts can also be updated with artifacts created by local projects. Public repositories can also be updated.

Maven is built using a plugin-based architecture that allows it to make use of any application controllable through standard input. Theoretically, this would allow anyone to write plugins to interface with build tools (compilers, unit test tools, etc.) for any other language. In reality, support and use for languages other than Java has been minimal. Currently a plugin for the .NET framework exists and is maintained,[4] and a C/C++ native plugin is maintained for Maven 2.[5]

Programming IDEs take a lot of the hard work out of tasks such as compiling and linking in languages such as Java, C, C++, VB.Net and C#. In the case of NetBeans IDE, which this blog reintroduces to you today (it’s customary to shake hands, and no Klingon is necessary), it can create a Java Web Application, for instance, as we do today to create a Tic Tac Toe game as a web application. To cut a long story short, there aint nothin’ wrong with a good ol’ IDE, but beware of IDEs in March.

In saying that about IDEs, and how they make programming easier, often with Open Source programming, it is advantageous to know what goes on “under the hood” (or even “in the ‘hood” … chortle, chortle). So if you ever get an opportunity to get helped creating your own makefile (or make it yourself, even with the Sweet Green Icing … knew it could be worked in!) for something, take the opportunity to learn how to do this, as the Open Source world will become a little easier to navigate with such types of knowledge. You’ve got to admire those early designers of computer languages, and those days when all you had was this tiny bit of memory (64k or “into the heliosphere on 8,000 bytes of memory”) to play with to create your program.

So here, today, we build a simple Maven Java SE Desktop application to ask about the lengths of sides of a triangle, to calculate its area.

NetBeans can be an IDE for much more than Maven (Java SE) … it can supervise other Java and other Maven language assists, PHP, C++, Groovy and HTML/Javascript. In coming days and weeks we’ll look at more.

Link to downloadable NetBeans Maven Java SE Application Java programming source code at App.java

Link to downloadable NetBeans Maven Java SE Application XML configuration file at pom.xml

Link to Maven information from Wikipedia, from where the quite above originated.

Link to Maven “spiritual home” from Apache.

Link to NetBeans “spiritual home” download page at NetBeans.

If this was interesting you may be interested in this too.

This entry was posted in eLearning, NetBeans, Tutorials and tagged , , , , , , , . Bookmark the permalink.

27 Responses to NetBeans Maven Java SE Application Primer Tutorial

  1. Bonjour ! Ahahaha sympa comme site!

  2. Stock Prices says:

    You can definitely see your expertise within the paintings you write. The sector hopes for more passionate writers like you who aren’t afraid to say how they believe. At all times follow your heart.

  3. Stock Ticker says:

    I intended to send you that very little word to thank you as before with the marvelous methods you have provided above. It’s really pretty generous with people like you to grant easily all that a lot of folks might have offered for sale for an e book to earn some cash for themselves, most notably given that you might well have done it in the event you decided. These strategies additionally worked to be the good way to be sure that some people have the identical passion similar to my own to figure out lots more with regard to this matter. I believe there are lots of more pleasurable instances in the future for individuals that browse through your website.

  4. Lovely says:

    I have been examinating out a few of your articles and i can state pretty nice stuff. I will make sure to bookmark your blog.

  5. great points altogether, you just received a brand new reader. What would you recommend in regards to your publish that you made a few days ago? Any sure?

  6. money says:

    I’m entirely agree with your claim or things that you have actually shared here in this web site.

  7. Anyways many thanks for your ideas. I appreciate it. Please make more articles related to this

  8. Hello there, just became aware of your blog through Google, and found that it’s really informative. I’m going to watch out for brussels. I’ll be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

  9. gadget says:

    hello there and thank you for your information – I have certainly picked up something new from right here. I did however expertise a few technical points using this web site, since I experienced to reload the web site many times previous to I could get it to load correctly. I had been wondering if your hosting is OK? Not that I’m complaining, but slow loading instances times will sometimes affect your placement in google and could damage your high quality score if advertising and marketing with Adwords. Well I am adding this RSS to my email and could look out for a lot more of your respective intriguing content. Ensure that you update this again soon..

  10. Of course, what a great website and revealing posts, I surely will bookmark your site.All the Best!

  11. health tips says:

    Anyways thanks for your ideas. I appreciate it. Please make even more write-ups associated with this

  12. When I originally commented I clicked the -Notify me when new comments are added- checkbox and just after this when a comment is added I’m four emails sticking using the similar comment. Could there be in any manner you may remove me from that service? Thanks!

  13. I feel much more writers need to take care to write with passion like you. Even informational articles like this can have personality. ThatÒ€ℒs what you have interjected in this informative post. Your views are really unique.

  14. health plus says:

    There is clearly a lot to know about this. I assume you made various good points in features also.

  15. IÒ€ℒd forever want to be update on new articles on this website, bookmarked ! .

  16. I simply had to thank you so much once more. I am not sure the things I would have accomplished without the tips and hints contributed by you about my problem. It was actually a very challenging problem for me, but discovering this well-written tactic you managed the issue took me to cry with joy. I will be thankful for your assistance and have high hopes you really know what an amazing job you were putting in training some other people through the use of your webpage. Most probably you haven’t encountered any of us.

  17. real estate says:

    Wow! This can be one particular of the most helpful blogs We’ve ever arrive across on this subject. Actually Magnificent. I’m also an expert in this topic therefore I can understand your hard work.

  18. Hello.This article was extremely interesting, especially since I was investigating for thoughts on this issue last Sunday.

  19. of course like your web site however you have to test the spelling on quite a few of your posts. Several of them are rife with spelling issues and I in finding it very troublesome to inform the reality nevertheless I‘¦ll certainly come again again.

  20. I keep listening to the rumor speak about getting free online grant applications so I have been looking around for the finest site to get one. Could you tell me please, where could i find some?

  21. my website says:

    Glad to be 1 of many visitants on this awing internet web site : D.

  22. Soon after study a couple of with the blog posts in your internet site now, and I truly like your indicates of blogging. I bookmarked it to my bookmark internet site listing and will probably be checking back soon. Pls check out my website online as properly and let me know what you believe.

  23. There are actually truly plenty of particulars like that to take into consideration. That is certainly a terrific point to bring up. I present the thoughts above as standard inspiration on the other hand obviously there are inquiries similar to the a single you carry up where probably the most crucial factor will likely be functioning in trustworthy fantastic faith. I don?t know if greatest practices have emerged round factors like that, but I’m positive that your job is obviously identified as a fantastic game. Every single girls and boys feel the impact of only a second’s pleasure, for the rest of their lives.

  24. This may possibly be the ideal website for everyone who is seriously wants to discover out about this topic. You already know an incredible deal of its practically not quick to argue on hand (not also When i’d want…HaHa). You absolutely put a brand new spin on a topic thats been discussed for many years. Wonderful stuff, just great!

  25. vacation says:

    Thanks for sharing excellent informations. Your web-site is so cool. I’m impressed by the details that you have on this site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my pal, ROCK! I found simply the information I already searched all over the place and simply couldn’t come across. What a great site.

  26. Stock Market says:

    Hello. impressive job. I did not anticipate this. This is a excellent story. Thanks!

  27. I was looking at some of your articles on this internet site and I believe this website is really instructive! Keep posting.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>