View Poll Results: If you read it, did you find DirectJNgine User's Guide adequate?

Voters
54. You may not vote on this poll
  • Yes

    40 74.07%
  • No

    14 25.93%
  1. #451
    Sencha User
    Join Date
    Dec 2012
    Posts
    22
    Vote Rating
    0
    lee el is on a distinguished road

      0  

    Default



    I am using DirectJNgine and when I use a directMethod and if I debug the java side and wait on break point
    I see than in 30 sec another request is arriving for the same method,
    this can happen when server side method execution can take a long time and I don't want it to be executed more than one time.
    what is the configuration param for this?

    thanks,
    Lee

  2. #452
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by lee el View Post

    I am using DirectJNgine and when I use a directMethod and if I debug the java side and wait on break point
    I see than in 30 sec another request is arriving for the same method,
    this can happen when server side method execution can take a long time and I don't want it to be executed more than one time.
    what is the configuration param for this?
    If I recall correctly, you control this with RemotingProvider maxRetries: please, check the documentation to make sure.
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  3. #453
    Sencha User
    Join Date
    Dec 2012
    Posts
    22
    Vote Rating
    0
    lee el is on a distinguished road

      0  

    Default


    Thank you for the quick answer, I found the solution:

    Code:
            MyProvider.direct.REMOTING_API.maxRetries = 0; //setting the maximum no. of retries
            MyProvider.direct.REMOTING_API.timeout = 100000; //setting the timeout value
            Ext.Direct.addProvider(MyProvider.direct.REMOTING_API);
    more info is on this thread:
    http://www.sencha.com/forum/showthread.php?110078

    thanks,
    Lee

  4. #454
    Sencha User
    Join Date
    Dec 2012
    Posts
    22
    Vote Rating
    0
    lee el is on a distinguished road

      0  

    Default deploy directjngine on linux is not working

    deploy directjngine on linux is not working


    Hi,

    When I deploy directjngine on linux (on Jboss AS) there is a problem in the deployment.
    I see that the generated files are created lower case:

    Api.js instead of API.js (API.js exists but it is empty, probably copied from the source dir).
    when I change the name to API.js it is working.

    In windows env there were no problems with this.
    Any ideas? can I put the generated file from windows as a source in my linux env as a solution?

    thanks,
    Lee

  5. #455
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Never heard of such problem before, and there is a lot of people out there using DJN in Linux -I myself included.

    Are you completely sure you are using the *exact* api file name you specified in web.xml?

    As a workaround, you might specify in web.xml the exact name the generated file has, and call it a day.
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  6. #456
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    0
    prakashwagle is on a distinguished road

      0  

    Default Facing problem while implementing DirectJNgine

    Facing problem while implementing DirectJNgine


    I am facing a lot of problems while implementing DirectJNgine in Extjs 4 MVC structure. Could any one please give me DirectJNgine example using Extjs4 MVC structure.

  7. #457
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    162
    Vote Rating
    5
    jhoweaa is on a distinguished road

      0  

    Default Need to upgrade directjngine for Ext JS 4.x?

    Need to upgrade directjngine for Ext JS 4.x?


    We have an application which uses the DirectJNgine version 1.0. Our currently application is written using Ext JS 3.2. I'm trying to see if I can convert/rewrite our application to work with Ext JS 4.2 and rewriting the server at the same time would be quite a bit of work. Do we need to upgrade DirectJNgine to the latest release to work with Ext JS 4.2? If we had to upgrade, what impact would there be on our existing Ext JS 3.2 application?

    Thanks.

    Jim

  8. #458
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by jhoweaa View Post
    We have an application which uses the DirectJNgine version 1.0. Our currently application is written using Ext JS 3.2. I'm trying to see if I can convert/rewrite our application to work with Ext JS 4.2 and rewriting the server at the same time would be quite a bit of work. Do we need to upgrade DirectJNgine to the latest release to work with Ext JS 4.2?
    Yes, you need to upgrade, ExtJs 4.x broke backwards compatibility with prior versions of DJN.

    Quote Originally Posted by jhoweaa View Post
    If we had to upgrade, what impact would there be on our existing Ext JS 3.2 application?

    Thanks.
    According to my experience, your greatest upgrade issues will not be related to DJN, but rather with the new features in ExtJs 4.x and things that work in a different way -including some property name changes.

    Of course, your mileage may vary.
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  9. #459
    Sencha User
    Join Date
    May 2009
    Posts
    1
    Vote Rating
    0
    malus is on a distinguished road

      0  

    Default Call inter DirectAction

    Call inter DirectAction


    Hi
    Firstly thank you for this awesome piece of software!

    Now, is there a way to call a method of a DirectAction class from another DirectAction class?

    Code:
    @DirectAction( action="Action1")
    public class ActionClass1{
        
        @DirectMethod
        public Object getStuff() {
            ....
            return foo;
        }
    }
    
    @DirectAction( action="Action2")
    public class ActionClass2{
        
        @DirectMethod
        public Object getOtherStuff() {
            ....
            ActionClass1 c1 = this.getDirectAction("Action1");
            return c1.getStuff();
        }
    }

  10. #460
    Sencha User
    Join Date
    Aug 2013
    Posts
    8
    Vote Rating
    0
    extejnar is on a distinguished road

      0  

    Default DirectJNgine with Ext JS 4.2

    DirectJNgine with Ext JS 4.2


    It all looks good but before I start looking too deeply into DirectJNgine I would like to know a little about the status of the project. First question that come to mind is
    1. Will DirectJNgine work with Ext JS 4.2 ? (only Ext JS 4.1 is mentioned in the docs)
    2. Is the project being actively maintained ? I'm fully aware that no recent releases sometimes simply means that the code is stable and feature complete and therefore no reason to release new stuff. I hope that is the case for DirectJNgine.

    Thank you.

Thread Participants: 86

  1. Animal (5 Posts)
  2. barton (4 Posts)
  3. Condor (1 Post)
  4. mauro_monti (6 Posts)
  5. mbarto (1 Post)
  6. aconran (1 Post)
  7. MoShAn480 (1 Post)
  8. asgillett (2 Posts)
  9. seade (4 Posts)
  10. zaqwsxqwer (3 Posts)
  11. Sesshomurai (16 Posts)
  12. ThierryC (3 Posts)
  13. maxm165 (3 Posts)
  14. techstudios (2 Posts)
  15. sayonara (2 Posts)
  16. kschlaudt (1 Post)
  17. hschaefer123 (2 Posts)
  18. omarc (2 Posts)
  19. lxbzmy (4 Posts)
  20. mct (6 Posts)
  21. mediacept (2 Posts)
  22. dionisexorcius (1 Post)
  23. alper (1 Post)
  24. steverc (2 Posts)
  25. chrizmaster (18 Posts)
  26. J@y (21 Posts)
  27. Georgioa (6 Posts)
  28. wguan (1 Post)
  29. minneyar (16 Posts)
  30. jhoweaa (1 Post)
  31. Ramez (2 Posts)
  32. malus (1 Post)
  33. dweller (8 Posts)
  34. stdunbar (1 Post)
  35. vlagorce (20 Posts)
  36. cwilliso (1 Post)
  37. Whatty (13 Posts)
  38. Ice (1 Post)
  39. clynnh (1 Post)
  40. SreevaniN (1 Post)
  41. Stsalomon90 (1 Post)
  42. GregT (9 Posts)
  43. jcalfee (6 Posts)
  44. set_ti (1 Post)
  45. maho2nd (3 Posts)
  46. dreamtaotao (3 Posts)
  47. Toxa (4 Posts)
  48. tungchau (3 Posts)
  49. wlan0 (2 Posts)
  50. jpr (2 Posts)
  51. gianmarco (5 Posts)
  52. extjslikeit (2 Posts)
  53. harmen_wessels (1 Post)
  54. Olivercomputing2 (4 Posts)
  55. vanessa_ng (2 Posts)
  56. alois.cochard (5 Posts)
  57. kyrillos52 (2 Posts)
  58. Tod (1 Post)
  59. Alinanila (1 Post)
  60. tfannon (2 Posts)
  61. Kynao (1 Post)
  62. feiq (4 Posts)
  63. dalt (1 Post)
  64. xfolch (1 Post)
  65. avijit (1 Post)
  66. marcelsnews (2 Posts)
  67. maddhippy (1 Post)
  68. sritter (1 Post)
  69. july (2 Posts)
  70. jtkeller7983 (1 Post)
  71. lfranchini (2 Posts)
  72. 7/11 (2 Posts)
  73. yAdEs (1 Post)
  74. zazz (1 Post)
  75. waqar (5 Posts)
  76. pjain11 (1 Post)
  77. alexMobimesh (2 Posts)
  78. zachHurt (4 Posts)
  79. n0n3 (5 Posts)
  80. adavis2 (1 Post)
  81. mark.peters (1 Post)
  82. lee el (4 Posts)
  83. frengo19 (3 Posts)
  84. prakashwagle (1 Post)
  85. extejnar (2 Posts)
  86. alin@sonatype.com (1 Post)