@@ -9205,11 +9205,11 @@ respectively.
9205
9205
=== Bean manipulation and the BeanWrapper
9206
9206
9207
9207
The `org.springframework.beans` package adheres to the JavaBeans standard provided by
9208
- Sun . A JavaBean is simply a class with a default no-argument constructor, which follows
9208
+ Oracle . A JavaBean is simply a class with a default no-argument constructor, which follows
9209
9209
a naming convention where (by way of an example) a property named `bingoMadness` would
9210
9210
have a setter method `setBingoMadness(..)` and a getter method `getBingoMadness()`. For
9211
- more information about JavaBeans and the specification, please refer to Sun 's website (
9212
- http://java.sun .com/products/javabeans/[ java.sun.com/products/ javabeans]).
9211
+ more information about JavaBeans and the specification, please refer to Oracle 's website (
9212
+ http://docs.oracle .com/javase/6/docs/api/ java/beans/package-summary.html[ javabeans]).
9213
9213
9214
9214
One quite important class in the beans package is the `BeanWrapper` interface and its
9215
9215
corresponding implementation ( `BeanWrapperImpl`). As quoted from the Javadoc, the
@@ -9358,7 +9358,7 @@ behavior can be achieved by __registering custom editors__, of type
9358
9358
`java.beans.PropertyEditor`. Registering custom editors on a `BeanWrapper` or
9359
9359
alternately in a specific IoC container as mentioned in the previous chapter, gives it
9360
9360
the knowledge of how to convert properties to the desired type. Read more about
9361
- `PropertyEditors` in the Javadoc of the `java.beans` package provided by Sun .
9361
+ `PropertyEditors` in the Javadoc of the `java.beans` package provided by Oracle .
9362
9362
9363
9363
A couple of examples where property editing is used in Spring:
9364
9364
@@ -14843,7 +14843,7 @@ using Spring in accordance with the properties of the annotation". In this conte
14843
14843
__initialization__ refers to newly instantiated objects (e.g., objects instantiated with
14844
14844
the ' `new`' operator) as well as to `Serializable` objects that are undergoing
14845
14845
deserialization (e.g., via
14846
- http://java.sun .com/j2se/1.5.0 /docs/api/java/io/Serializable.html[readResolve()]).
14846
+ http://docs.oracle .com/javase/6 /docs/api/java/io/Serializable.html[readResolve()]).
14847
14847
14848
14848
[NOTE]
14849
14849
====
@@ -18266,10 +18266,10 @@ methods. Class-level usage overrides method-level usage.
18266
18266
[source,java,indent=0]
18267
18267
[subs="verbatim,quotes"]
18268
18268
----
18269
- **@IfProfileValue**(**name**="java.vendor", **value**="Sun Microsystems Inc. ")
18269
+ **@IfProfileValue**(**name**="java.vendor", **value**="Oracle Corporation ")
18270
18270
@Test
18271
- public void testProcessWhichRunsOnlyOnSunJvm () {
18272
- // some logic that should run only on Java VMs from Sun Microsystems
18271
+ public void testProcessWhichRunsOnlyOnOracleJvm () {
18272
+ // some logic that should run only on Java VMs from Oracle Corporation
18273
18273
}
18274
18274
----
18275
18275
@@ -23321,9 +23321,9 @@ are the parameter names and the values are the parameter values.
23321
23321
23322
23322
Another `SqlParameterSource` implementation is the `BeanPropertySqlParameterSource`
23323
23323
class. This class wraps an arbitrary JavaBean (that is, an instance of a class that
23324
- adheres to http://java.sun .com/products/javabeans/docs/ spec.html[the JavaBean
23325
- conventions]), and uses the properties of the wrapped JavaBean as the source of named
23326
- parameter values.
23324
+ adheres to http://www.oracle .com/technetwork/java/javase/documentation/ spec-136004 .html[the
23325
+ JavaBean conventions]), and uses the properties of the wrapped JavaBean as the source
23326
+ of named parameter values.
23327
23327
23328
23328
[source,java,indent=0]
23329
23329
[subs="verbatim,quotes"]
@@ -26534,7 +26534,7 @@ within Spring's JDO support.
26534
26534
=== JPA
26535
26535
The Spring JPA, available under the `org.springframework.orm.jpa` package, offers
26536
26536
comprehensive support for the
26537
- http://java.sun .com/developer/technicalArticles/J2EE /jpa/index .html[Java Persistence
26537
+ http://www.oracle .com/technetwork/articles/javaee /jpa-137156 .html[Java Persistence
26538
26538
API] in a similar manner to the integration with Hibernate or JDO, while being aware of
26539
26539
the underlying implementation in order to provide additional features.
26540
26540
@@ -34925,8 +34925,8 @@ chapter.
34925
34925
.JSR-168 The Java Portlet Specification
34926
34926
****
34927
34927
For more general information about portlet development, please review a whitepaper from
34928
- Sun entitled
34929
- http://developers.sun .com/prodtech/portalserver/reference/techart/jsr168/ ["Introduction
34928
+ Oracle entitled
34929
+ http://www.oracle .com/technetwork/java/index-raji-test-141933.html ["Introduction
34930
34930
to JSR 168"], and of course the
34931
34931
http://jcp.org/aboutJava/communityprocess/final/jsr168/[JSR-168 Specification] itself.
34932
34932
****
@@ -37580,7 +37580,7 @@ servlet name matching the bean name of the target exporter:
37580
37580
</servlet-mapping>
37581
37581
----
37582
37582
37583
- If you are running outside of a servlet container and are using Sun 's Java 6, then you
37583
+ If you are running outside of a servlet container and are using Oracle 's Java 6, then you
37584
37584
can use the built-in HTTP server implementation. You can configure the
37585
37585
`SimpleHttpServerFactoryBean` together with a `SimpleHttpInvokerServiceExporter` as is
37586
37586
shown in this example:
@@ -37708,7 +37708,7 @@ See Java EE 5 web service tutorials for details.
37708
37708
37709
37709
[[remoting-web-services-jaxws-export-standalone]]
37710
37710
==== Exporting standalone web services using JAX-WS
37711
- The built-in JAX-WS provider that comes with Sun 's JDK 1.6 supports exposure of web
37711
+ The built-in JAX-WS provider that comes with Oracle 's JDK 1.6 supports exposure of web
37712
37712
services using the built-in HTTP server that's included in JDK 1.6 as well. Spring's
37713
37713
`SimpleJaxWsServiceExporter` detects all `@WebService` annotated beans in the Spring
37714
37714
application context, exporting them through the default JAX-WS server (the JDK 1.6 HTTP
@@ -37765,7 +37765,7 @@ and Spring's `@Autowired` configuration annotation still being honored:
37765
37765
37766
37766
[[remoting-web-services-jaxws-export-ri]]
37767
37767
==== Exporting web services using the JAX-WS RI's Spring support
37768
- Sun 's JAX-WS RI, developed as part of the GlassFish project, ships Spring support as
37768
+ Oracle 's JAX-WS RI, developed as part of the GlassFish project, ships Spring support as
37769
37769
part of its JAX-WS Commons project. This allows for defining JAX-WS endpoints as
37770
37770
Spring-managed beans, similar to the standalone mode discussed in the previous section -
37771
37771
but this time in a Servlet environment. __Note that this is not portable in a Java EE 5
@@ -41311,15 +41311,14 @@ you can accept the coupling to both Spring and JMX, then do so.
41311
41311
=== Further Resources
41312
41312
This section contains links to further resources about JMX.
41313
41313
41314
- * The http://java.sun.com/products/JavaManagement/[JMX homepage] at Sun
41314
+ * The http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html[JMX
41315
+ homepage] at Oracle
41315
41316
* The http://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html[JMX
41316
41317
specification] (JSR-000003)
41317
41318
* The http://jcp.org/aboutJava/communityprocess/final/jsr160/index.html[JMX Remote API
41318
41319
specification] (JSR-000160)
41319
41320
* The http://mx4j.sourceforge.net/[MX4J homepage] (an Open Source implementation of
41320
41321
various JMX specs)
41321
- * http://java.sun.com/developer/technicalArticles/J2SE/jmx.html[Getting Started with
41322
- JMX] - an introductory article from Sun.
41323
41322
41324
41323
41325
41324
@@ -42208,7 +42207,7 @@ database with the Blackbox CCI connector.
42208
42207
[NOTE]
42209
42208
====
42210
42209
The original version of this connector is provided by the Java EE SDK (version 1.3),
42211
- available from Sun .
42210
+ available from Oracle .
42212
42211
====
42213
42212
42214
42213
Firstly, some initializations on the CCI `InteractionSpec` must be done to specify which
@@ -42496,8 +42495,8 @@ For more information on Spring's transaction facilities, see the chapter entitle
42496
42495
The following additional jars to be on the classpath of your application in order to be
42497
42496
able to use the Spring Framework's email library.
42498
42497
42499
- * The http ://java.sun.com/products /javamail/[JavaMail] `mail.jar` library
42500
- * The http://java.sun .com/products/javabeans/jaf/downloads/index .html[JAF]
42498
+ * The https ://java.net/projects /javamail/pages/Home [JavaMail] `mail.jar` library
42499
+ * The http://www.oracle .com/technetwork/java/jaf11-139815 .html[JAF]
42501
42500
`activation.jar` library
42502
42501
42503
42502
All of these libraries are freely available on the web.
@@ -43502,7 +43501,7 @@ As you can see from that configuration, a 'queue-capacity' value has also been p
43502
43501
The configuration of the thread pool should also be considered in light of the
43503
43502
executor's queue capacity. For the full description of the relationship between pool
43504
43503
size and queue capacity, consult the documentation for
43505
- http://java.sun .com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html[ThreadPoolExecutor].
43504
+ http://docs.oracle .com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html[ThreadPoolExecutor].
43506
43505
The main idea is that when a task is submitted, the executor will first try to use a
43507
43506
free thread if the number of active threads is currently less than the core size. If the
43508
43507
core size has been reached, then the task will be added to the queue as long as its
0 commit comments