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%
-
13 Mar 2013 6:43 AM #451
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
-
13 Mar 2013 6:59 AM #452
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/
-
14 Mar 2013 12:09 AM #453
Thank you for the quick answer, I found the solution:
more info is on this thread: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);
http://www.sencha.com/forum/showthread.php?110078
thanks,
Lee
-
7 Apr 2013 11:23 PM #454
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
-
8 Apr 2013 12:36 AM #455
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/
-
17 Apr 2013 1:41 AM #456
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.


-
3 May 2013 12:19 PM #457
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
-
4 May 2013 3:51 AM #458
Yes, you need to upgrade, ExtJs 4.x broke backwards compatibility with prior versions of DJN.
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/
-
14 May 2013 9:40 AM #459
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(); } }


Reply With Quote