java.net site closed, not able to access jersey documentation - jersey

I'm not able to access jersey documentation from, https://jersey.java.net/
Has jersey documentation been moved to a new location?

Bizarrely it seems that Oracle have pulled the plug on java.net.
The jersey docs are available on the github site:
https://jersey.github.io/documentation/latest/index.html

Jersey issues are available as well
Issue IDs are same as former JIRA issue IDs ex: https://github.com/jersey/jersey/issues/3054 is same as former https://java.net/jira/browse/JERSEY-3054
A project migration index is available at https://javaee.github.io

Related

Why that Spring Framework Documentation's table of contents is gone?

I remember there was a table of contents in the document before but now is gone.
That makes it inconvenient to find the specified chapter.
And I see the other's project still has the table of contents.
Is it something wrong with this doc page?
Spring Framework Documentation:
https://docs.spring.io/spring-framework/docs/current/reference/html/core.html
And others project like Spring Boot :
https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features
I have the same symptoms, but with Spring Framework project, not Spring Boot. I managed to download PDF versions of the topics. They're at:
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/core.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/testing.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/data-access.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/web.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/web-reactive.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/integration.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/languages.pdf
https://docs.spring.io/spring-framework/docs/5.3.9/reference/pdf/appendix.pdf
Both links lead to Spring features

What's the difference between 'com.microsoft.azure' and 'com.azure'?

When creating a new Spring Boot project using Spring Initializr and adding Azure Support, it adds a dependency to com.microsoft.azure:azure-spring-boot-starter.
implementation 'com.microsoft.azure:azure-spring-boot-starter'
The spring cloud documentation says:
The Azure Support entry contains auto-configuration support for Azure
managed services [...]
Now I'd like to send and receive messages from Azure Service Bus and the documentation wants me to add a dependency to azure-servicebus.
implementation 'com.microsoft.azure:azure-spring-boot-starter'
implementation 'com.microsoft.azure:azure-servicebus'
Okay fine. When I now switch over to Microsoft and read the documentation about Service Bus there, it mentions two libraries, where Microsoft states the second one is dated and legacy.
azure-messaging-servicebus (latest) implementation 'com.azure:azure-messaging-servicebus:7.0.0'
azure-servicebus (legacy) 'com.microsoft.azure:azure-servicebus'
Question
Is the Spring Boot documentation just outdated?
I have read somewhere that libraries in com.microsoft.com are for managing the resource itself, while libraries in com.azure are for managing the data. Is this true?
What is meant by auto-configuration support?
As you can see I am very confused which dependencies I need to add. Also I don't get the difference between packages from com.azure and com.microsoft.azure.
Can someone please shed some light on this?

How to report/fix Spring framework documentation issues

I found few typos/mistakes in Spring Boot reference guide.
Could you please suggest whom can I contact, or even better how to fix it myself (e.g via pull request if possible) ?
I checked spring GitHub repository but spring-boot-actuator-docs seems to have nothing to do with reference guide.
Thanks in advance.
Spring Boot is like any regular github project. It is located here:
https://github.com/spring-projects/spring-boot
If you want to fix the typos, create a pull request. You'll find all you need to know in our contributing page. The documentation is located in the spring-boot-docs module

Secure Spring REST Service using spring-security-oauth2 2.0.5.RELEASE

I have been searching for an example Spring Webservice which is being protected using oauth 2.0..
Looking around I found https://github.com/spring-projects/spring-security-oauth/tree/master/samples/oauth2 but there some files seems to be missing from the project.
Two things that I am looking for is :
When user authenticates, user name and password goes to /login.do , now I can not understand how this Servlet is being configured, if its not controller. web.xml is missing.
When I try to see how beans configured then applicationContext.xml is also missing. I am not able to find those files in order to see how things are configured.
Help Required :
Should I use annotation in order to configure my web service or xml configuration. I am willing to use the latest version, and leverage advanced configurations, for better security.
I have another Single page application ( HTML5 ) , which accesses data from this spring web service, which is being hosted on Google App Engine. My ultimate objective is to create a chrome plugin of (html5) pages and use my service from there..
Please suggest a better path so that I can achieve my objectives.
Best regards,
Shashank Pratap
Apologize for late reply.
1) Regarding Oauth2.0 implementation : Since GAE does not support Servlet 3.0 therefore, developer is restricted to servlet 2.5. Therefore I found that we are restricted to 1.0.5.RELEASE. I was able to configure it successfully.
Best Practice on GAE : Rather than following this approach, I would suggest others to use Google Endpoints. As it supports oauth2.0 as well as we can develop REST API relatively quickly.
Scale ability and Response time : Since I was using Spring dependency injection along with spring security, application responded slower than the combination of Google Endpoints and Google Juice, as juice does injection just in time, where as spring prepares everything as soon as new instance starts, which created problem for me.
2) Chrome Plugin is completely different story. :-)
Please correct if I am wrong.
Thanks,
Shashank Pratap

Spring webflow demo application

I am new to Spring and webflow.
I was looking for some demo application and someone suggested me to look at petclinicplus
# http://code.google.com/p/petclinicplus/.
But I do not know how to download the project? I can see that it allows svn checkout.
I also dont know svn, but I tried to downloaded svn and executed
svn checkout http://petclinicplus.googlecode.com/svn/trunk/ petclinicplus-read-only
however it is not working.
Is there any other way to download?
Cheers
Examples are bundled with the source. You can sownload Spring Webflow from springsource.com.
You can browse the booking application online here:
https://fisheye.springsource.org/browse/spring-webflow
Getting started can be tricky, but I recommend this blog as a quick simple boot-up point:
http://jee-bpel-soa.blogspot.com/2008/12/building-spring-web-flows-2.html
Spring Web Flow samples on GitHub:
https://github.com/SpringSource/spring-webflow-samples

Resources