1 /* 2 * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * <p> 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * <p> 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * <p> 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * <p> 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 /** 27 * Provides classes and interfaces for supporting the server 28 * side of RMI. A group of classes are used by the stubs and skeletons 29 * generated by the rmic stub compiler. Another group of classes 30 * implements the RMI Transport protocol and HTTP tunneling. 31 * 32 * <p><strong>Deprecated: HTTP Tunneling.</strong> <em>The HTTP tunneling 33 * mechanism has been deprecated. See {@link java.rmi.server.RMISocketFactory} for 34 * further information.</em> 35 * 36 * <p><strong>Deprecated: Skeletons and Static Stubs.</strong> 37 * 38 * <em>Skeletons and statically generated stubs are deprecated. This 39 * includes the APIs in this package that require the use of skeletons 40 * or static stubs, the runtime support for them, and the use of the 41 * {@code rmic} stub compiler to generate them. Support for skeletons 42 * and static stubs may be removed in a future release of the 43 * platform. Skeletons are unnecessary, as server-side method dispatching 44 * is handled directly by the RMI runtime. Statically generated stubs are 45 * unnecessary, as stubs are generated dynamically using {@link 46 * java.lang.reflect.Proxy Proxy} objects. See {@link 47 * java.rmi.server.UnicastRemoteObject UnicastRemoteObject} for 48 * information about dynamic stub generation. Generation of skeletons and 49 * static stubs was typically performed as part of an application's build 50 * process by calling the {@code rmic} tool. This is unnecessary, and 51 * calls to {@code rmic} can simply be omitted.</em> 52 * 53 * @since 1.1 54 */ 55 package java.rmi.server;