Opened 15 years ago
Last modified 12 years ago
#3371 confirmed New Feature
Spring based Connector servlet
Reported by: | Darran | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Server : Java | Version: | |
Keywords: | HasPatch | Cc: |
Description
Attached is a patch which has a new spring based connector servlet project. It allows the Connector to be a Spring managed bean which is useful in Spring projects. For example if the connector is used to write to a database it will be able to use the Spring transaction manager or Spring events could be issued when an upload/download occurs for files.
I`ve also updated the java-demo project so it uses the new servlet. I`ve commented out the original ConnectorServlet in the web.xml
I had to change the Dispatcher slightly so a Connector can be passed into it. I also had to make the dispatcher member variable in the ConnectorServlet protected as the new SpringConnectorServlet derives from ConnectorServlet.
Attachments (1)
Change History (8)
Changed 15 years ago by
Attachment: | spring_connector.patch added |
---|
comment:1 Changed 15 years ago by
Keywords: | HasPatch added; Spring Connector removed |
---|
comment:2 Changed 15 years ago by
Milestone: | FCKeditor.Java 2.5 |
---|
According to your forum thread this sound really, really interesting but this won't make into 2.5 because the code is complete and I am just finishing documentation. Each new code fragment needs audit and testing and this is not feasable for this release. I will probably push this patch into 2.6.
comment:3 Changed 15 years ago by
Milestone: | → FCKeditor.Java 2.6 |
---|
comment:4 follow-up: 5 Changed 15 years ago by
I needed it for a Grails project so Ill use this implementation currently and I
ll look forward to a similar implementation in 2.6.
Also I was toying with the idea of writing a connector to upload/download using Amazon S3 or SimpleDB,as I may need to do this for my own project, which would make a good demo for the Java connector.
comment:5 Changed 15 years ago by
Replying to Darran:
I needed it for a Grails project so I
ll use this implementation currently and I
ll look forward to a similar implementation in 2.6.Also I was toying with the idea of writing a connector to upload/download using Amazon S3 or SimpleDB,as I may need to do this for my own project, which would make a good demo for the Java connector.
This sounds good, hopefully the connector interface gives you enough flexibility.
comment:6 Changed 15 years ago by
Milestone: | FCKeditor.Java 2.6 |
---|
since FCKeditor is legacy this won't be realized in FCKeditor.Java 2.6. This may reemerge in CKEditor.Java.
comment:7 Changed 12 years ago by
Status: | new → confirmed |
---|
spring conenctor project patch