Skip to content

Commit a9a20e2

Browse files
committed
changed Sun references and links to Oracle
1 parent a83fb13 commit a9a20e2

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

src/asciidoc/index.adoc

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9205,11 +9205,11 @@ respectively.
92059205
=== Bean manipulation and the BeanWrapper
92069206

92079207
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
92099209
a naming convention where (by way of an example) a property named `bingoMadness` would
92109210
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]).
92139213

92149214
One quite important class in the beans package is the `BeanWrapper` interface and its
92159215
corresponding implementation ( `BeanWrapperImpl`). As quoted from the Javadoc, the
@@ -9358,7 +9358,7 @@ behavior can be achieved by __registering custom editors__, of type
93589358
`java.beans.PropertyEditor`. Registering custom editors on a `BeanWrapper` or
93599359
alternately in a specific IoC container as mentioned in the previous chapter, gives it
93609360
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.
93629362

93639363
A couple of examples where property editing is used in Spring:
93649364

@@ -14843,7 +14843,7 @@ using Spring in accordance with the properties of the annotation". In this conte
1484314843
__initialization__ refers to newly instantiated objects (e.g., objects instantiated with
1484414844
the ' `new`' operator) as well as to `Serializable` objects that are undergoing
1484514845
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()]).
1484714847

1484814848
[NOTE]
1484914849
====
@@ -18266,10 +18266,10 @@ methods. Class-level usage overrides method-level usage.
1826618266
[source,java,indent=0]
1826718267
[subs="verbatim,quotes"]
1826818268
----
18269-
**@IfProfileValue**(**name**="java.vendor", **value**="Sun Microsystems Inc.")
18269+
**@IfProfileValue**(**name**="java.vendor", **value**="Oracle Corporation")
1827018270
@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
1827318273
}
1827418274
----
1827518275

@@ -23321,9 +23321,9 @@ are the parameter names and the values are the parameter values.
2332123321

2332223322
Another `SqlParameterSource` implementation is the `BeanPropertySqlParameterSource`
2332323323
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.
2332723327

2332823328
[source,java,indent=0]
2332923329
[subs="verbatim,quotes"]
@@ -26534,7 +26534,7 @@ within Spring's JDO support.
2653426534
=== JPA
2653526535
The Spring JPA, available under the `org.springframework.orm.jpa` package, offers
2653626536
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
2653826538
API] in a similar manner to the integration with Hibernate or JDO, while being aware of
2653926539
the underlying implementation in order to provide additional features.
2654026540

@@ -34925,8 +34925,8 @@ chapter.
3492534925
.JSR-168 The Java Portlet Specification
3492634926
****
3492734927
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
3493034930
to JSR 168"], and of course the
3493134931
http://jcp.org/aboutJava/communityprocess/final/jsr168/[JSR-168 Specification] itself.
3493234932
****
@@ -37580,7 +37580,7 @@ servlet name matching the bean name of the target exporter:
3758037580
</servlet-mapping>
3758137581
----
3758237582

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
3758437584
can use the built-in HTTP server implementation. You can configure the
3758537585
`SimpleHttpServerFactoryBean` together with a `SimpleHttpInvokerServiceExporter` as is
3758637586
shown in this example:
@@ -37708,7 +37708,7 @@ See Java EE 5 web service tutorials for details.
3770837708

3770937709
[[remoting-web-services-jaxws-export-standalone]]
3771037710
==== 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
3771237712
services using the built-in HTTP server that's included in JDK 1.6 as well. Spring's
3771337713
`SimpleJaxWsServiceExporter` detects all `@WebService` annotated beans in the Spring
3771437714
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:
3776537765

3776637766
[[remoting-web-services-jaxws-export-ri]]
3776737767
==== 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
3776937769
part of its JAX-WS Commons project. This allows for defining JAX-WS endpoints as
3777037770
Spring-managed beans, similar to the standalone mode discussed in the previous section -
3777137771
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.
4131141311
=== Further Resources
4131241312
This section contains links to further resources about JMX.
4131341313

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
4131541316
* The http://jcp.org/aboutJava/communityprocess/final/jsr003/index3.html[JMX
4131641317
specification] (JSR-000003)
4131741318
* The http://jcp.org/aboutJava/communityprocess/final/jsr160/index.html[JMX Remote API
4131841319
specification] (JSR-000160)
4131941320
* The http://mx4j.sourceforge.net/[MX4J homepage] (an Open Source implementation of
4132041321
various JMX specs)
41321-
* http://java.sun.com/developer/technicalArticles/J2SE/jmx.html[Getting Started with
41322-
JMX] - an introductory article from Sun.
4132341322

4132441323

4132541324

@@ -42208,7 +42207,7 @@ database with the Blackbox CCI connector.
4220842207
[NOTE]
4220942208
====
4221042209
The original version of this connector is provided by the Java EE SDK (version 1.3),
42211-
available from Sun.
42210+
available from Oracle.
4221242211
====
4221342212

4221442213
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
4249642495
The following additional jars to be on the classpath of your application in order to be
4249742496
able to use the Spring Framework's email library.
4249842497

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]
4250142500
`activation.jar` library
4250242501

4250342502
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
4350243501
The configuration of the thread pool should also be considered in light of the
4350343502
executor's queue capacity. For the full description of the relationship between pool
4350443503
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].
4350643505
The main idea is that when a task is submitted, the executor will first try to use a
4350743506
free thread if the number of active threads is currently less than the core size. If the
4350843507
core size has been reached, then the task will be added to the queue as long as its

0 commit comments

Comments
 (0)