Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

Blogs

  • Bram de Kruijff
  • Ivo Ladage
  • Mark van Cuijk
  • Martin van Mierloo
  • Martijn van Berkum
  • Michel Teunissen
  • Patrick Atoon

Recent blogs

RSS - Blogs
March 9, 2010
State of OSGi in the Java world
March 4, 2010
Reach more people with Google Translate
March 3, 2010
Get My Advice
February 26, 2010
What? Where!?!
February 11, 2010
Split it!

All Blogs...


Mark van Cuijk

March 14, 2008

March 3, 2010
Get My Advice

One of the WCB guidelines tells you to use the proper coding conventions and prescribes the use of CheckStyle with a GX-specific configuration file. One of the things this configuration file makes you do is prefix all member fields with the "my" keyword. When you do this in Eclipse and then use the "Generate Getters and Setters" tool, you'll get methods like getMyAdvice() if you're not careful.

February 11, 2010
Split it!

For keeping code maintainable, it is wise to make a clear division between different tasks in a project. The GX WebManager architecture allows such separations to be made in a very clear way: using separate WCBs. However, in practice it might sometimes be difficult to decide in what way to split up functionality and how to keep the code connected. In this post I describe one way of keeping the code connected: the EventManagerService.

April 22, 2009
What goes in, must come out!

In the early days of WebManager 9, I did a content migration by reading data from a set of XML files and storing them in WebManager. That was a hell of a job! The last couple of weeks I’ve been doing about the same thing, but this time it was much easier. Why? We now have the Connector API and the Content API!

July 29, 2008
WCB Sharing FTW!

One of the good things of Java is the “create once, use everywhere” message. The modular architecture of GX WebManager supports this message in the form of WCBs. But, given a nice source tree, how can you create a nice ZIP file that contains anything you need to share? You just add some additional things to your pom.xml and MaVeN will do it for you!

June 17, 2008
Found me on LinkedIn?

Have you already visited my LinkedIn profile? I would like to know that, but I cannot directly ask the browser to provide this information and certainly the webserver doesn't know. But there is a way to find out and link it to WebManager personalizations.

April 18, 2008
Tosti

I'm trying to do a lot of work in a day, but somewhere between 12:00 AM and 1:00 PM there is a break. The GX Public department is located in Eindhoven and we are famous for these breaks, because we eat tosti.

April 7, 2008
Baking apple pie at 347

Some notable differences between Europe and the US are measuring units: in Europe we don’t use inches (except for television sets and computer screens), we don’t have gallons, we don’t do miles and we definitely do not use Fahrenheit. As part of baking an apple pie last weekend, I had to preheat the oven to 175 degrees Celsius and I was wondering what amount I need on the Fahrenheit scale, so I decided to connect a form to the public CelsiusToFahrenheit WebService to give me the answer.

March 21, 2008
Short story about not inventing another wheel

One of the aspects of my job is to write Java code. It’s a nice task and I like it, but I’m not addicted to it. So once in a while I don’t want to write Java code, because I think at this planet there must be at least one person that already wrote what I need and that decided to share the code. With MaVeN I can easily include a Java library written by a third party, so in 15 minutes I can parse all kinds of CSV files.

March 13, 2008
Files in and files out

The WebManager architecture allows panels with a user interface to be created very easily. However, when trying to generate a stream to the browser, I discovered nobody has done this the way I wanted and therefore I couldn’t rely on some existing documentation. Today I’ll write about streaming content to a browser from within a panel, streaming content from a browser back to the server and something about reading a ZIP file in Java.

February 29, 2008
Big Brother is watching

Starting with WebManager 9, most data is stored in the Java Content Repository. This has a lot of advantages, most of which were intended, but some are a nice bonus. A couple of weeks ago I found a nice feature in the JCR API called the ObservationManager, which basically provides an interface to asynchronously monitor changes made to nodes in the JCR.

About the Author

Return to all blogs


Mark is software engineer with a special interest in Security and Digital WebTV. Mark writes about daily engineering with GX WebManager

Read all Marks blog entries

Other blog entries:

March 3, 2010
Get My Advice
February 11, 2010
Split it!
April 22, 2009
What goes in, must come out!
July 29, 2008
WCB Sharing FTW!
June 17, 2008
Found me on LinkedIn?
April 18, 2008
Tosti
April 7, 2008
Baking apple pie at 347
March 21, 2008
Short story about not inventing another wheel
March 13, 2008
Files in and files out
February 29, 2008
Big Brother is watching


Share:

del.icio.us
digg
Technorati
Slashdot
Reddit
YahooMyWeb
NewsVine
ekudos
© 2010 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.