Difference between revisions of "Netbeans"

From Blue-IT.org Wiki

(Database Roundtrip Engeneering with Jeddit)
(Database Roundtrip Engeneering with Jeddit)
Line 1: Line 1:
== Database Roundtrip Engeneering with Jeddit ==
+
Netbeans is a great development environment with a lot of useful and also simply solutions.
 +
 
 +
== Plugins ==
 +
=== Database Roundtrip Engeneering with Jeddit ===
 
Unfortunately there is no (free) '''database''' plugin for roundtrip engeneering in Eclipse. But within Netbeans there exists such a tool: Jeddit.
 
Unfortunately there is no (free) '''database''' plugin for roundtrip engeneering in Eclipse. But within Netbeans there exists such a tool: Jeddit.
 
* Requires Java > 1.8
 
* Requires Java > 1.8
Line 9: Line 12:
  
 
I am combining Eclipse (Java) and Netbeans with Jeddit (DB design and maintaining) sharing the same project.
 
I am combining Eclipse (Java) and Netbeans with Jeddit (DB design and maintaining) sharing the same project.
 
[[Category: Java]]
 
[[Category: UML]]
 
[[Category: Netbeans]]
 
  
 
== Tips ==
 
== Tips ==
 
* '''Create Get-Setters:''' simply press Alt+Insert somewhere in the code.
 
* '''Create Get-Setters:''' simply press Alt+Insert somewhere in the code.

Revision as of 13:11, 30 April 2017

Netbeans is a great development environment with a lot of useful and also simply solutions.

Plugins

Database Roundtrip Engeneering with Jeddit

Unfortunately there is no (free) database plugin for roundtrip engeneering in Eclipse. But within Netbeans there exists such a tool: Jeddit.

You will be given a visual database editor which a lot of possibilities of various database types. But most important: the tool allows you to generate entity classes with all getter an setter methods, the persitance xml. But the best is: you can alter your (visual) database model, work with stored procedures and a lot more e.g. a simple MVC Web App support or a concept to build " Dockerize Java EE Application". Try it out.

Advantage: manually altered or added source code to the entity classes will not be touched upon a new export of the db ui model! This is no complete reverse engeneering, where a reinport of source code into the model would be possible - but you really won't need this.

I am combining Eclipse (Java) and Netbeans with Jeddit (DB design and maintaining) sharing the same project.

Tips

  • Create Get-Setters: simply press Alt+Insert somewhere in the code.