Comments (9)
Nice.
That was our tried also but in the time that we did there was no extension to do that. Now there is.
from dicoogle.
I just spoke to @tmgodinho and @fmgvalente on the subject. First of all, this extension might not work, or be a "not-so-well"-supported patch around the issue. Second, what we actually need is a practical abstraction to web service development. It may go through anything that can use Jetty as the server, so JAX-RS is also an option.
from dicoogle.
Yes, sounds good plan for the future.
from dicoogle.
Ok, so I just realized that Restlet SE actually does seem to support Jetty since around last November. http://maven.restlet.com/org/restlet/jse/org.restlet.ext.jetty/2.3.1/
So forget about needing a patch, apparently. We just need to add the right dependencies and keep existing servlets functional.
from dicoogle.
I still couldn't find a way to make a Restlet Application work alongside servlets. I made a question on StackOverflow, in hope that the community will give us a solution.
from dicoogle.
I have managed to embed a Restlet application in a servlet, using the ServletAdapter (the JEE implementation of the servlet extension seems to be compatible with Java SE, apparently). I hope to publish this outcome soon.
When this merge is done, we will have a single server to configure, yet right now we support starting and stopping both web server (default port 8080) and web services (default port 6060). @bastiao, should we have a single start/stop server switch or a way to conditionally expose additional web services? The only reasonable decisions I'm thinking of right now is to either do the former and keep things simple; or support turning plugin web services on/off.
from dicoogle.
Indeed. We will have one, and only one exposing web service. If you found a way to handle the restlet and expose it in Jetty or any other compatible way to put all the resources together, it will be very good and it avoids to port the features between web resources frameworks!
from dicoogle.
Yes, I actually figured it out. I'll just make sure things are stable enough for a merge. But as for the previous question, should we just discard the switch for Dicoogle Web Services and have a single Dicoogle Web Server switch?
from dicoogle.
This was taken care of in #41. For Dicoogle 3.0, I suggest modifying the SDK to support Restlet attachment rather than resources, as discussed in #42.
from dicoogle.
Related Issues (20)
- Auto-save plugin settings on shutdown? HOT 2
- Build the parent Maven project hands-on HOT 1
- npm run build hands-on HOT 1
- Need an overview of how to upload Pacs HOT 1
- dump endpoint doest dump all DICOM info HOT 2
- Modality US Uploading is not supported HOT 1
- cannot push image HOT 10
- How to realize image film printing HOT 2
- User management page
- Changes to transfer options might not always save to disk
- Docker Build Fail: Could not resolve aclmanager
- How to download dcm file from dicoogle pacs? HOT 1
- URI can no longer be found in the meta-dump table
- Error running Sample Plugin HOT 2
- how to save datetime format of imcoming dicom file name form scp? HOT 1
- Indexer thread leaks when disabling DICOM storage
- Demo.dicoogle.com not working HOT 1
- Update React to v16
- Search result web UI plugins should not be constrainted to Advanced Options
- Add separators for menu UI plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dicoogle.