Tuesday, April 24, 2012

NetBeans for GUI

My original idea was that using Eclipse to develop GUI. But I found it was not visualized when I was coding. It was hard to tell what the GUI looks like unless I start debug. But this process was so complex, repeated and annoying. Wenhao suggested me to try NetBeans.

I did some research on NetBeans. I will put some materials in this blog, in case I need them later.

NetBeans is a not only a IDE but also a platform framework for Java. It is very powerful for develop Java desktop applications. I can simply drag buttons, boxes or anything else I want in GUI to the working station, and the NetBeans will create the code for me. This is much easier than dealing with code directly, because in NetBeans, what you see is what you get.

NetBeans does not only support Java, but also support JavaScript, PHP, C, C++ and other languages. When I installed the NetBeans, it let me choose if I wanted GlassFish. Since GlassFish might be useful when we connect database, I allow the NetBeans installed and configured GlassFish for me. This was very convenient.

I downloaded NetBeans from here. I chose Java EE version, since I need Java EE and GlassFish, but not other languages. The installation process was quit simple. Then I chose some plug-in.


NetBeans API Documentation - Includes a complete copy of the NetBeans API documentation for offline browsing and Javadoc index searching. Covers all of the official API modules plus some APIs considered under development.

JUnit - Includes the JUnit unit testing library and corresponding library definitions. 3.x and 4.x versions are both included.  

Web Preview -  Web Preview module allows to directly preview HTML pages inside IDE using Embedded Mozilla browser. Also when editing CSS files user can preview any selected HTML page that includes the CSS file.

CSS Preview by Flying Saucer Renderer - Previews CSS documents using the Flying Saucer XHTML rendered    

Saturday, April 14, 2012

Development of System Architecture

In the last meeting with Dr.Shiping Chen, we showed him our design of the system architecture.
the original design

In the original design, we didn't show how the front-end communicate with back-end. We also missed the web service which should allow user access from Internet. Dr.Shiping Chen explained his idea and improved our design, Wenhao and I then came out with a new diagram.
the improved design

In the second version, it classified the division of front-end and back-end clearly. As shown in the above diagram, my jobs are:
  • design the user interface
  • design the command line interface 
  • decide what user can input
  • implement multi-threads
  • solve the concurrency control problems
  • design the ports to back-end

Meeting with Wenhao at USYD

Wenhao and I had a meeting today at USYD. Our main topic was the project proposal.

I will then keep working on the background, and keep our schedule up to date.
The background should include the explanations of TPC-C and other important concepts, introduction of other people's works on the similar projects, and our motivation of this project.

I will also modify the Gantt chart which keeps the plan and process of the project.

Tuesday, April 3, 2012

Meeting with Dr. Shiping Chen

Wenhao and I went to CSIRO to meet Dr. Shiping Chen yesterday. We talked about our initial design and architecture.

For my next move, I need to construct the developing environment for JAVA GUI. Current idea is to use JAVA swing. I also need to make a command line interface for user. My front end developing progress with Wenhao's back end developing simultaneously. I should test my parallel programming without the actual database implemented.