alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Commons Net example source code file (migration.xml)

This example Commons Net source code file (migration.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Commons Net tags/keywords

apache, commons, commons, jdk, license, license, net, net, netcomponents, the, the, there, version, you

The Commons Net migration.xml source code

<?xml version="1.0"?>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
-->

<document>

  <properties>
    <title>Migration How-to
    <author email="brekke@apache.org">Jeffrey D. Brekke
  </properties>

  <body>
    
<section name="Migration How-To">
<p>
This how-to lists the migration steps for moving between versions of Commons Net.
</p>
</section>

<section name="Commons Net 2.x to Commons Net 3.0">
    <p>
        Version 3.0 is binary compatible with version 2.0. There should be no changes required to existing binary code.
    </p>
    <p>        
        However, version 3.0 is <b>not source compatible with 2.0.
    </p>
    <p>        
        Several obsolete/unused constants have been removed.<br/>
        (Such changes do not affect binary code, because compilers are required to localise constants).<br/>
        The <a href="clirr-report.html">clirr report shows which constants have been removed.
        If any source code happens to be using one of these constants, then the source will have to be updated.
    </p>
    <p>
        Also, some throws clauses have been removed from methods which did not actually throw them.<br/>
        Throws clauses are not part of method signatures, so do not affect binary compatibility.<br/>
        The following public methods no longer throw IOException:
        <ul>
        <li>TelnetClient#addOptionHandler(TelnetOptionHandler)
        <li>TelnetClient#deleteOptionHandler(int)
        </ul>
        Source code using these methods will need to be updated.
    </p>
</section>

<section name="Commons Net 1.4.x to Commons Net 2.0">
    <p>
        Version 2.0 requires a JDK 5.0+ runtime. It has also been tested on JDK 6.0. There should
        be no changes required to existing client code.
    </p>
</section>

<section name="NetComponents 1.3.8  to  Commons Net 1.x">
<p>
This version is a drop in replacement for NetComponents.  Only package names have changed.
</p>
<ol>
  <li>Change all occurances of com.oroinc.net.* to org.apache.commons.net.*
  <li>Change all occurances of com.oroinc.io.* to org.apache.commons.net.io.*
  <li>Change all occurances of com.oroinc.util.* to org.apache.commons.net.util.*
</ol>
</section>


</body>
</document>

Other Commons Net examples (source code examples)

Here is a short list of links related to this Commons Net migration.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.