Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Recommended place for server init

    Hi,
    where can I place commands for server initialization? I want a command to be executed only once, and I want to be sure it is executed. Is there any recommended way to do this?

    Using Smartgwt 6.1p power

    #2
    Hi edulid,

    you could use normal servlet techniques like this in web.xml:
    Code:
        <servlet>
            <servlet-name>RegisterDS</servlet-name>
            <servlet-class>com......</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
    Best regards
    Blama

    Comment

    Working...
    X