Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json-Rpc-Java (AJAX) and Spring integration [SWF-1273] #473

Open
spring-operator opened this issue May 28, 2006 · 6 comments
Open

Json-Rpc-Java (AJAX) and Spring integration [SWF-1273] #473

spring-operator opened this issue May 28, 2006 · 6 comments

Comments

@spring-operator
Copy link
Contributor

Aldrin Edison Baroi opened SWF-1273 and commented

Hi: Are you guys considering JSON-RPC-JAVA (AJAX) (http://oss.metaparadigm.com/jsonrpc) integration with Spring? I found this JSON-RPC-JAVA for AJAX very useful and created a small integration module for Spring. If you guys are interested I can email you the code and a sample application for your review and if you happen to like it, you can distribute it with your spring package.


Attachments:

Issue Links:

  • SPR-5853 JSON formatting view for Spring MVC

4 votes, 7 watchers

@spring-operator
Copy link
Contributor Author

Aldrin Edison Baroi commented

Several people requested to post the code, so done that. The zip file contains source code, example web-app, Ant build file, etc.

Please, look at the javadoc for implementation help.

The "dist" directory contains a example web-app "war" file (tested it with JBoss 4.x). To deploy you don't need the "jsonrpc-spring-1.0.jar", the "war" file contains a copy of this "jar" file.

@spring-operator
Copy link
Contributor Author

Aldrin Edison Baroi commented

Tomek Korzeniewski found a bug when global context is defined. It is fixed

@spring-operator
Copy link
Contributor Author

Denes Csepely commented

Hi guys,
I've found a NPE, the stacktrace is attached. There is a call for getting init parameters in the JsonRpcServletConfig's constructor ("jsonRpcServletContext.getInitParameter(key)") but the jsonRpcServletConfig property has not been initialized in the JsonRpcServletContext...

@spring-operator
Copy link
Contributor Author

apachetomcat commented

Can u plz send me the source code for jsonrpc-spring-example-1.0.war
my mail id is apachetomcatserver@gmail.com

@spring-operator
Copy link
Contributor Author

salmon charles commented

Why using global bridge ?

By reading the code, it seems that is was clearly a choice to use the JSONRPC global bridge instead of a session specific bridge.
Is there any reasons for this choice ?

Thanks a lot,
Charles.

@spring-operator
Copy link
Contributor Author

Aldrin Baroi commented

Hi Guys:

Have been out of touch with development quiet a while... doing it now for fun :-) Got curious what happened to my submission and here I am ... Don't have access to my old email so was not getting any notifications. Just signed up with my gmail account.

Okay,

#1 NPE issue
Don't have old code, so downloaded the attachment and compiled it with

  1. Ant 1.7.1

  2. Java 1.6.0_20-b02
    on Ubuntu 10.04

    Deployed it on JBoss 5.1.0.GA and no problem.

    Willing to help out to resolve any issues.

#2 Source
All source code is within the zip file.
Main source is under "src" folder
Example webapp source is under "example" folder

#3 Why Global bridge?
To avoid registering the services with the session bridge for each and every new sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant