news from and stuff about jMDA - a new lightweight approach to model driven architecture based on Java technology
Welcome to jMDA
To generate software automatically has been a strong ambition since the early days of software development.
jMDA is a new approach in this area. It streamlines proven, widely known and accepted open source technologies into a most comprehensible and easy to use set of Java libraries that are extremely powerful and flexible at the same time. The main purpose of jMDA is
to leverage a comprehensible and easy to use modelling environment,
to provide convenient and complete access to modelling information and
to make available easy to use software generator facilities.
The introduction will briefly explain the main drivers behind this project, the jMDA book provides more detailed information about the most important concepts and the open source software is available here.
Sunday, 30 December 2012
sample: jboss 7 datasource definition with derby network client
To sum it up: The configuration for my simple environment is very straight forward, especially there is no need to define a JBoss module or to specify particular Derby JDBC driver classes. All you have to do is place derbyclient.jar into JBoss deployments directory and insert a datasource definition into the respective section of the JBoss standalone.xml as follows:
<datasources>
...
<datasource jndi-name="java:/DataSourceDerbyNetwork"
pool-name="DataSourceDerbyNetwork">
<connection-url>jdbc:derby://localhost:1527/c:/data/db/derby/xxx;create=true</connection-url>
<driver>derbyclient.jar</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
</pool>
<security>
<user-name>yyy</user-name>
<password>zzz</password>
</security>
<timeout>
<idle-timeout-minutes>5</idle-timeout-minutes>
</timeout>
<statement>
<track-statements>true</track-statements>
</statement>
</datasource>
...
</datasources>
Of course you have to adjust the data printed in bold according to your individual needs. Please refer to the Derby documentation for further details about the connection-url for example.
By the way: I removed the default datasource ExampleDS from standalone.xml and did not observe this causing any problems. Seems that ExampleDS, as its name says, is used for examples only.
Sunday, 7 October 2012
Avoid unnecessary qualified type references in generated source code
Monday, 17 September 2012
Combine jmda.core with jmda.gen and create JUnit test suites for existing JUnit tests
Saturday, 8 September 2012
Create a simple Java source code generator with four lines of code using jmda.gen
Complete redesign of jmda.gen generator framework
Friday, 22 June 2012
Create / update jaxb.index files
Map<File, Set<String>> indexData =
|
Saturday, 16 June 2012
New jMDA based tools help to keep JAXB index files and package lists in sync
Update of jmda.core available
Sunday, 3 June 2012
What has been going on with jMDA in the recent year?
I could not disagree with that and because I'm a huge UML fan I started looking around for appropriate Java to UML reverse engineering tools. It soon turned out that it was not easy to find any. Existing products often are extreme heavy weights, clumsy to use, expensive and so on. So I started playing around with an own solution. With jMDA at hand I had everything necessary to find out anything about a given jMDA model so the only thing to do was to bring that model information into an appealing graphical representation. First results looked very promising (at least in my eyes).
But soon some really nasty problems occured. The biggest among them being myself and my lacking knowledge and experience in developing software with a huge amount of obviously non mainstream graphical requirements. I started with a Java Swing approach but got frustrated about a lot of features that seem to be missing.Then I decided to try JavaFX 2.0. Again first results looked promising but missing basic features were a big disappointment.
After all I spent a lot of time in these investigations during the last year without satisfying results. However recently I became to know UML Explorer which does most of the things I was looking for very nicely in an eclipse environment. So I gave up or at least postponed my plans for an own solution. This will allow to concentrate on developing new and improving existing features for the actual jMDA products.
Saturday, 2 June 2012
New blog started for jMDA
With this blog I hope to increase community interest and participation in jMDA and would be happy to receive comments and feedback. In the jMDA project I'd like to collaboratively improve and extend jMDA technology. I plan to discuss and publish new libraries that address particular application fields for jMDA.
Finally this blog wants to be a place for the community to share ideas and discuss jMDA related topics.
Some initial information about jMDA is already available here.