NetBeans IDE has done really well recently in two different polls, one on java.net and the other at jaxenter.de. Read all about it!
The Aspose team have produced seamless integration for their file format APIs, such as PDF and Excel rendering, for NetBeans IDE. Download and install it today!
Gradle, Git, GUI builders, and more! Read the features that Mark Wilmoth and Scott Palmer appreciate most about NetBeans
The NetBeans Governance Board has come to the end of its term. Hermien and Toni share their experiences.
This tutorial covers how to configure a Raspberry Pi as a development platform for the JavaFX platform.
The latest greatest book on Java EE, HTML5, and NetBeans IDE is set to be published. Buy yours today!
We are pleased to announce that the Oracle Massive Open Online Course: Develop Java Embedded Applications Using a Raspberry Pi is open for enrollment. This free course, designed for Java developers, is delivered over 5-weeks. Take the course at your own pace – weekly we will add new lessons, quizzes and homework assignments. The course will start March 31st!
Join Geertjan Wielenga (Oracle) and Toni Epple (Eppleton) for a two-day NetBeans Platform training in Leipzig, Germany. The training blends theory and practice–you learn the fundamentals behind the NetBeans API and then start to develop applications. Register today. Training is FREE for students.
The Experience Programming in Quorum (EPIQ) Workshop is an international professional development workshop for educators to learn the foundational skills necessary to teach students computer science using the Quorum programming language.
NetBeans Weekly Newsletter is brought to you by the NetBeans Team.
Software design just like any other engineering design endeavor, requires a fair amount of effort, experience, patience and knowhow in order to be done right.
Based on Akin’s Laws of Spacecraft Design I present our readers with a slightly modified list of what I believe are the basic “Laws of Software design” especially when you are dealing with customer oriented, “tailored” software product solutions.
As this is considered a “basic” list, let me clarify that you are more than welcome to contribute with you own experiences and comments on the matter. So lets start …
- Software design is done with numbers. Analysis without numbers is only an opinion.
- To design software products right takes an infinite amount of effort. This is why it’s a good idea to design them to operate when some things are wrong.
- Design is an iterative process. The necessary number of iterations is one more than the number you have currently done. This is true at any point in time.
- Your best design efforts will inevitably wind up being useless in the final design. Learn to live with the disappointment.
- (Miller’s Law) Three points determine a curve.
- (Mar’s Law) Everything is linear if plotted log-log with a fat magic marker.
- At the start of any design effort, the person who most wants to be team leader is least likely to be capable of it.
- In nature, the optimum is almost always in the middle somewhere. Distrust assertions that the optimum is at an extreme point.
- Not having all the information you need is never a satisfactory excuse for not starting the analysis.
- When in doubt, estimate. In an emergency, guess. But be sure to go back and clean up the mess when the real numbers come along.
- Sometimes, the fastest way to get to the end is to throw everything out and start over.
- There is never a single right solution. There are always multiple wrong ones, though.
- Design is based on requirements. There’s no justification for designing something one bit “better” than the requirements dictate.
- (Edison’s Law) “Better” is the enemy of “good”.
- (Shea’s Law) The ability to improve a design occurs primarily at the interfaces. This is also the prime location for screwing it up.
- The previous people who did a similar analysis did not have a direct pipeline to the wisdom of the ages. There is therefore no reason to believe their analysis over yours. There is especially no reason to present their analysis as yours.
- Past experience is excellent for providing a reality check. Too much reality can doom an otherwise worthwhile design, though.
- The odds are greatly against you being immensely smarter than everyone else in the field. If your analysis says your terminal velocity is twice the speed of light, you may have invented warp drive, but the chances are a lot better that you’ve screwed up.
- A bad design with a good presentation is doomed eventually. A good design with a bad presentation is doomed immediately.
- (Larrabee’s Law) Half of everything you hear in a classroom is crap. Education is figuring out which half is which.
- When in doubt, document. (Documentation requirements will reach a maximum shortly after the termination of a program.)
- The schedule you develop will seem like a complete work of fiction up until the time your customer fires you for not meeting it.
- It’s called a “Work Breakdown Structure” because the Work remaining will grow until you have a Breakdown, unless you enforce some Structure on it.
- (Bowden’s Law) Following a testing failure, it’s always possible to refine the analysis to show that you really had negative margins all along.
- (Montemerlo’s Law) Don’t do nuthin’ dumb.
- (Varsi’s Law) Schedules only move in one direction.
- (Heinlein’s Law) There ain’t no such thing as a free lunch.
- (von Tiesenhausen’s Law of Program Management) To get an accurate estimate of final program requirements, multiply the initial time estimates by pi, and slide the decimal point on the cost estimates one place to the right.
- (von Tiesenhausen’s Law of Engineering Design) If you want to have a maximum effect on the design of a new software system, learn to draw. Engineers always wind up designing the vehicle to look like the initial artist’s concept.
- (Mo’s Law of Evolutionary Development) You can’t get to the moon by climbing successively taller trees.
- (Atkin’s Law of Demonstrations) When the hardware is working perfectly, the really important visitors don’t show up.
- (Patton’s Law of Program Planning) A good plan violently executed now is better than a perfect plan next week.
- (Roosevelt’s Law of Task Planning) Do what you can, where you are, with what you have.
- (de Saint-Exupery’s Law of Design) A designer knows that he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.
- Any run-of-the-mill engineer can design something which is elegant. A good engineer designs systems to be efficient. A great engineer designs them to be effective.
- (Henshaw’s Law) One key to success in a mission is establishing clear lines of blame.
- Capabilities drive requirements, regardless of what the systems engineering textbooks say.
- Do not reinvent the wheel if you want to keep a new manned program affordable and on schedule.
The July/August 2013 issue of Java Magazine! is out…
With Java at its core, Twitter supports more than 400 millions Tweets per day.
Get ready for JavaOne! The conference returns to San Francisco, September 22–26.
Wind Powered. Data Powered.
ORACLE TEAM USA relies on a wireless Java system for real-time data to improve performance.
Q&A: Java Performance Tuning
We talk with Kirk Pepperdine.
Java 8: Lambdas
Get to know lambda expressions with Ted Neward.
NetBeans IDE 7.3.1
Learn how to use NetBeans IDE 7.3.1 to take advantage of Java EE 7.
NetBeans IDE 7.4 Beta extends the advanced HTML5 development support introduced in NetBeans IDE 7.3 to Java EE and PHP application development, while offering new support for hybrid HTML5 application development on the Android and iOS platforms. In addition, this release provides support for working with preview versions of JDK 8, and includes continued enhancements to JavaFX, C/C++ and more.
Release Highlights Include:
- Phonegap application development
- Support for Android and iOS Browsers
- Editing support for stylesheet languages: SASS and LESS
- Browser switcher in main toolbar
- Saving changes from Chrome Developer Tools
- Network monitor
- Java EE
- HTML5 features available in Java EE projects
- Wizards for JSF 2.2 Resource Library Contracts and FacesComponents
- HTML5 features available in PHP applications
- Nette Framework 2 (with Latte templates) and Zend Framework 2 support
- Atoum testing framework support
- Editor and Rename type refactoring improvements
- Static code analysis support
- Preview support for JDK 8 features: Profiles, Lambdas
- Code completion, Hints and Refactoring improvements
- Native packaging
- Updated bundled Ant 1.9.0 and Maven 3.0.5
- Editing support for AngularJS, Knockout and ExtJS frameworks
- Navigator and code folding in JSON files
- Enhanced code completion with improved accuracy
- New FXML File dialog in Maven projects
- Tighter alignment for JavaSE and JavaFX project types
- Improvements to Project Deployment options
- Run/Debug launchers support
- Find Usages improvements
- C/C++ formatting style per project
- Lock Contention for profiling tasks
- Enhancements to Versioning tools: Subversion, Git, Mercurial
- TestNG and Junit improvements
- Improvements to Databases
- New Tasks Dashboard and Notifications windows
NetBeans IDE 7.4 Beta is available in English, Brazilian Portuguese, Japanese, Russian, and Simplified Chinese. Visit the 7.4 New and Noteworthy page for a complete list of highlights.
The final release of NetBeans IDE 7.4 is planned for Fall 2013.
Oracle has released Java SE 7 Update 25. This release includes important security fixes. Oracle strongly recommends that all Java SE 7 users upgrade to this release. For more information, see the Oracle Java SE Critical Patch Update Advisory.
Here some important changes to note:
Java API Documentation Updater Tool
To address CVE-2013-1571, users hosting publicly facing Java API Documentation generated with javadoc 5u45, 6u45, 7u21, or earlier are strongly encouraged to re-create the Java API documentation using javadoc from 7u25 or above. Alternatively, for convenience of users and for those who have further modified the generated documentation, Oracle provides the Java API Documentation Updater, a repair-in-place tool. Source code is available if you have a non-standard environment. The Java API Documentation Updater Tool is a separate download and not included in any JDK/JRE bundles.
New JAR Manifest File Attributes
JDK 7u25 release introduces the permissions and codebase attributes in the JAR Manifest File. These attributes are used to verify that the application is requesting the correct permissions level and is accessed from the correct location. See Preventing the Repurposing of an Application document.
Developers are advised to utilize at least the new permissions attribute, and if possible thecodebase attribute as well. In future releases, applications that do not include these protections may be blocked or subjected to additional warning dialogs.