Thursday Mar 26, 2009

CZJUG:: Frameworks Apache Wicket and Grails -> GeeCON promotion

Yesterdays CZJUG meeting was for me really nice instead of discussion in the pub after its end, of course :). One of the topics was Apache Wicket. I didn’t know about Wicket before but presentation was impressive and explanation too (done by Jiří Hradil). After this little introduction to problematic my curiosity about has increased so much that I started to read book Wicket in Action early today. Other presentation was done by very good speaker too (Vaclav Pech from JetBrains). Valcav introduced Grails in very nice light. Vaclav Pech is also one of our GeeCON Star Speaker similar to Jakub Podlesak and Lubos Petrik from Czech Republic.

Now I want to focus more on Apeche wicket. I guess presentation about Wicket could be done also by experienced Ambassadors because it's quite easy to understand. It could also improve theirs effort in even OSUM creating.

And what  is Apache Wicket ? Apache Wicket is a lightweight component-based web application framework for the Java programming language conceptually similar to JavaServer Faces and Tapestry. It was originally written by Jonathan Locke and Miko Matsumura in 2004. Version 1.0 was released in June 2005. It graduated into an Apache top-level project in June 2007.

I guess it sound nice. But what does it really mean? Wicket, on the other hand, is closely patterned after stateful GUI frameworks such as Swing. Wicket applications are trees of components, which use listener delegates to react to HTTP requests against links and forms in the same way that Swing components react to mouse and keystroke events. I think the part of text where is mentioned trees of components is very important to remember.

Wicket uses plain XHTML for templating (which enforces a clear separation of presentation and business logic and allows templates to be edited with conventional WYSIWYG design tools[2]). Each component is bound to a named element in the XHTML and becomes responsible for rendering that element in the final output. The page is simply the top-level containing component and is paired with exactly one XHTML template. Reuseable parts of pages may be abstracted into components called panels, which can then be pulled whole into pages or other panels with a special tag.

Each component is backed by its own model, which represents the state of the component. The framework does not have knowledge of how components interact with their models, which are treated as opaque objects automatically serialized and persisted between requests. More complex models, however, may be made detachable and provide hooks to arrange their own storage and restoration at the beginning and end of each request cycle. Wicket does not mandate any particular object-persistence or ORM layer, so applications often use some combination of Hibernate objects, EJB beans or POJOs as models.

I guess now it is more clear what is going on. Let’s take a closer look at short example. I'm not inteding to create any redundancy in this case so there is the link to Geertjan's Blog. Another nice example you can find on Wikipedia too. Only my advice is to keep in your mind class Application, it very important :).

Currently Go Wicket Go and NetBeans too !

Tuesday Oct 14, 2008

IN BETA: Netbeans IDE Certification Exam

Hi All,
I know it is little bit late to blog about this chance to become to be Certificated Specialist but I got this news latte. Maybe here will be other chance in the future so I decided  to blog around. Are you a Programmer who is responsible for developing Java desktop and Java web applications using the NetBeans IDE? If so, this is your opportunity to get involved in the creation of the Netbeans IDE exam!
Good Luck :)

Thursday Oct 09, 2008

Video sequences of NetBeans

For those who are interest in NetBeans and JAVA here are video sequences around.  This videos could speed up your improvements. If you are Sun Campus Ambassador it could be very helpful for any presentation. Just have a look:

  1. NetBeans TV
  2. All Video Tutorials and Demos for NetBeans IDE 6.x
  3. NetBeans Screencasts and Video Demos

Friday Aug 22, 2008

How to desing the best application according to user experiences

I have so many I could blog about. It would be nice to have more than 24 hours per day. I'm calling up please give as more time :)

Here is an another article. It's about designing  and testing software from user point of you. It was very nice warm day when I came to the office. I had planed to be visitor of usablity study. The study was focused on debugging of multi-thread apps using NetBeans debugger.

It was really great experience. I had chance to see onother users using NetBeans debugging threads.  Users ware separete to groups according to theirs experineces with JAVA language. Tester was sitting behind the mirror glass. It was like in the Criminal Serial. I helt like FBI officer. Interrogation of the user was through the microphone placed behind the window. He had to fill specific tasks he was asked for.

This was Usability Lab placed inside the SUN building but we have one similar placed on University Side. This lab is driven by professors in co-operation with SUN. To get more information around just with Usability Lab SITEs.

Enjoy pictures!

Wednesday Jun 18, 2008

Guillaume Laforge, founder and Project Manager of Groovy ...

Last week was added Groovy and Grails support to the NetBeans standart distibution. Now you can download it from here.  Who is Guillaume Laforge ?

Guillaume Laforge, founder and Project Manager of Groovy, spec lead of JSR-241, founder of the Grails framework, co-author of Groovy in Action, frequent conference speaker and VP Technology of G2One, Inc.  I think this is very good characterization. 
Today he pressented Groovy success stories and future directions on. This pressentation was litlle bit diffrent than one I have seen before ( previous pressentation was more technical and there was lot of examples of groovy usage). This pressentation was more like the tale and it was about vision of the future. Guillaume also metioned advantages of groovy in general. How is easy to write some hard mathematical equations. I think in that case is Groovy really strong! Also he mation that Groovy is quite faster than other. I do belive to that because it's quite logical.

Here are some pictures.

Friday May 23, 2008

NetBeans 6.1 and PHP

Yesterday, one professor asked me to do small pressentaion on his lecture about NetBeans usage for PHP programming. I didn't have much time  so everything I presented in real time. Happiness was fast internet and before pressentaion I had everything downloaded. I did promise to students to put some steps on my blog.

1. Download NetBeans IDE - Early Access for PHP

2. Prepare additional software ( Apache Server, MySQL ... ) for PHP development
note: for Windows user I offer use apache friends XAMPP

3. Start NetBeans IDE and create new project
File -> New Project -> PHP Application -> Click

Note: Project Sources should corespond to apache server web directory

5. Start your All-in-One Software or  apach server with installed PHP

6. In your IDE you have opened PHP application.

7. For developing you PHP applicaiton you have chance to use palette inside IDE ( Right panel ). It's easy to place piece of code to yours one. It's very hepful and you could develop yours application much faster.

8. Have a fun when you are developing PHP application :)

Monday May 19, 2008

Java Enterprise vs. Microsoft .NET solution

Yesterday I was thinking about advantages of Microsoft .NET solution. I have tried to find out why I should potentially use  .NET platform for any of enterprise solution. During the finding time I found more limits than advantages. I think that one of the biggest one is Runtime environment .NET Framework. .NET Framework you can run only on Windows machines. In short way NO UNIX systems support. So at the first you lose freedom in that way. The fact is that this will also affect your customers. You can let them be dependent on Microsoft's products.

Other fact is licence conditions. What about developers environment ? :) You will have to pay, again, again with never ending. What about documentation ? do you think, it's free ? 

I really don't know if same problem you will have by JAVA platform usage. You are able to find so many free things and the fact is that documentation is available at most of cases.

I would decided for .NET solution only if I have all my system written in .NET. No other times. I think that lot of programmers/people will agree with me but main problem is sometimes people who are making decision...

Tuesday Apr 22, 2008

Java EE technologies - slides

All these slides are in Czech language. I think they could help like inspiration for creating your own.

1. Introduction
2. Servlets
3. JSP
4. Frameworks
5. Java EE 5
6. JPA
7. WebServices
8. SOA

Java EE technologies - videos from pressentation

I have taped only demos for Servlets and WebServices from Java EE technologies. Each demos show very easy usage inside NetBeans 6.1 Beta IDE. Anyone can download it watch it and do it by himself. 


Others demos ware done in the real-time.
Enjoy :) 


My experience as a software engineer, ambassador, coordinator and university relation


« August 2016