in

ASP.NET Weblogs

Diego Gonzalez

.NET, movies & //TODO:

September 2003 - Posts

  • JVM-CLR bridge code in GDN

    A year ago i have coded an native CLR-JVM bridge that allows to access code from one VM to the other, using P/Invoke, JNI, managed extensions and some .Net vodoo. The approach is very basic, for example to create an instance of a Java class from .Net code you have to write:
    try
    {
    	JavaObject test = new JavaObject( "TestClass", "()V", null );
    	test.CallMethod( "Do", "()V", null );
    }
    catch( JVMException e )
    {
    	Console.WriteLine( e.ToString() );
    }
    
    And in order to call .Net code from Java the following code can be written:
    try
    {
            DotNetObject dno = new DotNetObject( "mgdsample.dll", "mgd.Sample", new Object[] { new int[] { 23 , 32 } } );
            dno.CallVoidMethod( "Metodo", new Object[] { new String[] { "AVER", "SALIR" } } );
    }
    catch( CLRException e )
    {
            System.out.println( e.Message );
    }
    
    The code was for a year in my machine andi really like to share it with you. I hope somebody found this interesting, there's a lot of code, and the code is not "production" code and please forgive any spanish comment. :)
    My prototype also include a set of code generators that creates Java and .Net wrappers so classes in the other VM can be called using hard-typed classes avoiding the whole bridgind code.
    The workspace with the code and a compiled version can be found here
  • I'm installing Office 2003

    I'm really excited about this. I hope i can get some time to get my hands on InfoPath and all the development sutff included in this new version.
  • MS Research Award for a project in Argentina

    On last thursday (11/Sep) i gave a conference at a Universidad Tecnológica Nacional (in spanish only) here in Argentina, (about 1:40 hours by plane), talking aobut Windows NT Architecture. Past year i noticed that Microsoft Research had awarded a research project in that university so i really want to mee the team. I had the chance to meet Ing. José Perez who is the team leader, the project is about a solucion supported on Windows CE (with Compact Framework), for anesthesiologists. José is very young an d a nice guy, he's very produd of his achievment, and the whole team (10 people) is working in the university to get this project running. He really likes .Net technologies, Remoting and WebServices, here's an interview in english.
    One of the most important thing about it, is that Carlos is hosting the project in the university with graduates, teachers and sudents and the laboratory he had created for this project will stay there, which is a public university with some budget problems. The University is in Resistencia city (Chaco province head) which had 250.000 inhabitants, i mean is not one of the main cities in Argentina.
    Carlos told me they are going to apply with a new project this year, i hope they keep walking this way.
    Posted Sep 13 2003, 07:45 PM by DiegoGonzalez with no comments
    Filed under:
  • Update

    How long since my last blog !! I was very busy writing design documents for the new project i'm working now for PAG, but in the mean while:
    • Lagash have moved, now i have a new desk at our new office, very comfortable, and pleasant... it's only a block away from my house !!!!... I'm not applying for the not a legend award :)
    • I have get my VISA to visit USA so i'll be there at the PDC and try to know a lot of people i have only know by mail or iM
    • I was preparing some conferences to talk at universities around here, i have one on Wedneday about Windows NT Architecture for the operating systems courses.
    • Coding and learning a lot on the Whidbey Alpha, i love generics and every new feature in C#. There's a lot of new stuff to learn on the next major release.
    • Writing a document for the Spanish MSDN (the document was written by Pablo Cibraro here at Lagash) i just place some corrections on the style and added some explanations. The document is about ServiceConfig class in Fx 1.1. it will be published in short.
    As you can see i was very busy, and blogging have a lower priority in my scheduler.
    I have not posted anything about movies so here's my first recomendation:
    Julio Medem is a spanish joung director his movies are very personal only watching 1 minute you can recognize his unique style and the way he develops the story. He have shoot 5 long movies: Vacas (Cows), La Ardilla roja (The Red Squirrel), Tierra (Earth), Los Amantes del Círculo Polar( The Lovers of the Arctic Circle), Lucía y el sexo (Sex and Lucia). The best one is "Los Amantes del Círculo Polar" is a very strange story about two boys growing since childhood. The second best is La Ardilla roja . Anyway you can see any of his movies and you will experience his unique style.
More Posts