NoSQL Zone is brought to you in partnership with:

I have been in the software development industry since 2010, working on enterprise product development using ADF. I am usually keen on learning about software design and emerging technologies. You can find me hanging around in the JavaRanch Forums where I am one of the moderators. Apart from Java, I am fascinated by the ease of use and simplicity of Ruby and Rails. Mohamed is a DZone MVB and is not an employee of DZone and has posted 54 posts at DZone. You can read more from them at their website. View Full User Profile

Developing a Sample Todo Desktop Application Using JavaFX and MongoDB

05.19.2012
| 6264 views |
  • submit to reddit

I wanted to explore learning to use MongoDB with Java and the best way to do this was to develop a toy application. And to add to this, I thought of using JavaFX and MongoDBbuilding a desktop application instead. I am building the application as I am writing this. I will upload the code onto Github once I am done with the application.

I am writing a 2 or 3 part series of posts on how to go about building the application. So do check out the detailed posts here. Just to clarify, I have started to write a few technical how-tos or my tryst with technologies on JavaBeat. So if you find this blog not being updated more often, you can find me at the other place. I would continue to update this blog with my experiences (so apt the title of the blog is ;) )

Here’s an update on the TodoFX application:

Published at DZone with permission of Mohamed Sanaulla, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Herry Johnson replied on Tue, 2012/06/12 - 2:13pm

Another thing to consider when deciding what exception type to use: Some frameworks (Spring for example), rolls back database transactions if a RuntimeException is thrown, but not for other exception types. If you use one of these frameworks, read the documentation carefully. If only a RuntimeException forces a transaction rollback, you might inadvertently commit data in multi-step transaction, even if an non-RuntimeException error occurs in a later step.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.