Texte libre

Welcome on Business Intelligence Blog !!!

This blog is dedicated to Business Intelligence technologies under SAS9 and SQL Server 2005.

Calendrier

Juillet 2008
L M M J V S D
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
<< < > >>

Recommander

Cliquez ici pour recommander ce blog

W3C

  • Feed RSS 2.0
  • Feed ATOM 1.0
  • Feed RSS 2.0
Mercredi 8 mars 2006

En : I'm currently preparing an article on ADOMD.net. While I'm preparing it, I'll publish some code sample on my blog, (even it could look trivial) :

Fr :  Je prépare actuellement un article sur ADOMD.net. Dans le même temps où je le prépare, je publierais des sample de code sur mon blog (même sils sont triviaux).

 

Typical connection String for a cube :

Provider=MSOLAP;Integrated Security=SSPI;Persist Security Info=False;Data Source=.BILAB;Initial Catalog=Analysis Services Tutorial;Client Cache Size=25;Auto Synch Period=10000

 

Typical connection function (facade oriented) :

#region Cube Connectivity
        public ConnectionState   Connect(string connString )
        {

            this.ConnectionString = connString;
            _mdConn = new AdomdConnection(this.ConnectionString);
            _mdConn.Open();
            return _mdConn.State;

        }
#endregion

par Renaud Harduin publié dans : MS Analysis Services 2005
ajouter un commentaire commentaires (0)    créer un trackback recommander
Mercredi 18 janvier 2006

I've been nominated by Microsoft SQL SERVER MVP for my articles and publication on SQL SERVER and .Net during 2005.

I'm very proud for this distinction, and thank's to the people who had suggested me for that.

more detail on:

 https://mvp.support.microsoft.com/

par Renaud Harduin publié dans : bi-art
ajouter un commentaire commentaires (0)    créer un trackback recommander
Dimanche 8 janvier 2006

This article is now available on :

http://www.techheadbrothers.com/DesktopDefault.aspx?tabindex=1&tabid=7&AId=121

If you have some comments you can use my blog.

par Renaud Harduin publié dans : bi-art
ajouter un commentaire commentaires (0)    créer un trackback recommander
Lundi 2 janvier 2006

First, I would like to wish you a happy new year !!!! and thanks Laurent and Matthieu Kempe for publishing my articles on www.techheadbrothers.com

I've written a document about the SSIS component development. This article will be avaiblable soon on TechHeadBrother as usual.

Stay tuned ...

par Renaud Harduin publié dans : bi-art
ajouter un commentaire commentaires (0)    créer un trackback recommander
Jeudi 29 décembre 2005

Just after having posted the previous article I got some mail asking me for small detail about the way of connecting and in addition about JSF from SAS programmer.

In that sample, I just connected a Java Method "string btConnect_action() {...}" into my jsp BackBean, meaning that if I create a JSP named login.jsp, JSCreator will create for me a backbean named login.java wich extends AbstractPageBean. The method will be "linked" for me by  Creator customizing JSF tag like :

___________

<h:commandButton action="#{login.btConnect_action}" binding="#{login.btConnect}" id="btConnect"
                        style="left: 432px; top: 240px; position: absolute" value="Connect"/>

 

Into that method, I connect to my SAS Metadata Server (I don't chek user ... because I'm just prototyping, but I'll take time to go back on that topic):

___________

Try {

uib.setIOMI( workspace.makeOMRConnection(serverName,serverPort,serverUser,serverPass));
...

}

 

If I get anykind of Exception, I catch it and send for a message visualisation page, or the next page returning the appropriate value :

___________

....

 catch (MdException e)
          {
             String msg = e.getSASMessageSeverity() + " / " + e.getSASMessage()
                                + " / " + e.getLocalizedMessage();
             getErrorManagementBean().setMessage(msg);
             return "notlogged";
          } catch (Exception e)
          {
             String msg = e.getLocalizedMessage();
             this.getErrorManagementBean().setMessage(msg);
             return "notlogged";
          }
         
            return "logged";

 

The message is loaded into a bean for my convinience. Then, this makes the navigation flow works...

 

If the "page" returns a "logged", the JSF process it and transfer the user to "CubeSelector.jsp". If the message is "notlogges", the engine tranfers us to messageViewer.jsp that displays the  messageBean contents.

This is very comfortable for the navigation flow management, gives more flexibility for java dev avoiding some very long stream of If () else if ()... So I let you discover. I'll post other story about those experiment ;)

par Renaud Harduin publié dans : SAS9
ajouter un commentaire commentaires (0)    créer un trackback recommander
Créer un blog sur over-blog.com - Contact - C.G.U. - Rémunération en droits d'auteur avec TF1 Network - Signaler un abus