My Blog

All about my activities, Ideas and everything.

Month: July, 2008

Java and .NET Compact WebServices : SOAP Encoding problem

I found this problem three days ago. I was developing java web services to work with .NET Compact framework, WM5. Java web services will return a string which is Thai language, but .NET compact cannot translate into Thai, it showed ?????. I think the problem was SOAP version. I have to downgrade from 1.2 to [...]

C# and SQL Express : Embedded SQL Server Express with custom application

Well, with my “Trinop” project that is built with C# .NET and SQL Server Express edition. However, the diffcult part is that when I deploy the application to end-user, the installation is very hard, becuase the use has to install SQL Server first and the install my program. At least, it’s hard for some people. [...]

Design Pattern : Method Factory

Method factory is built to prevent the user from creating an instance directly. For instance, MyClass myClass = new MyClass(); This will prevent from creating too many objects. I will explain no more, because wikipedia do it so much better than me. http://en.wikipedia.org/wiki/Factory_method_pattern