Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21280

Re: NoClassDefFoundError

Newsgroups comp.lang.java.programmer
Date 2013-01-09 18:43 -0800
References (1 earlier) <50e24bb4$0$283$14726298@news.sunsite.dk> <kcd41t$bcr$1@speranza.aioe.org> <50ea1641$0$288$14726298@news.sunsite.dk> <kcj1q6$fkd$1@speranza.aioe.org> <50ee291f$0$289$14726298@news.sunsite.dk>
Message-ID <972c9a8f-1a74-4322-ad7d-6bf29933b1fb@googlegroups.com> (permalink)
Subject Re: NoClassDefFoundError
From Lew <lewbloch@gmail.com>

Show all headers | View raw


Arne Vajhøj wrote:
> emf wrote:
>> I really can't see why packages are preferable, but the jar option is OK.
> 
> There are several good reasons to use packages.
> 
> 1) It helps you structure you code (UML has packages too for
>     the same purpose).
> 
> 2) You can encapsulate you code better by using packages and
>     package visibility so that internal code is not public.
> 
> 3) You avoid name conflicts between your code and other code
>     by putting your code in its own namespace(s).
> 
> 4) Your code can be called from code in a namespace.

In other words, those same benefits mentioned in the Java Tutorial, op. cit.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

NoClassDefFoundError emf <emfril@gmail.com> - 2012-12-31 21:24 -0500
  Re: NoClassDefFoundError Arne Vajhøj <arne@vajhoej.dk> - 2012-12-31 21:36 -0500
    Re: NoClassDefFoundError Lew <lewbloch@gmail.com> - 2013-01-01 00:25 -0800
      Re: NoClassDefFoundError lipska the kat <lipskathekat@yahoo.co.uk> - 2013-01-01 08:56 +0000
        Re: NoClassDefFoundError Lew <lewbloch@gmail.com> - 2013-01-01 01:12 -0800
          Re: NoClassDefFoundError lipska the kat <lipskathekat@yahoo.co.uk> - 2013-01-01 09:35 +0000
            Re: NoClassDefFoundError Magnus Warker <magnux@mailinator.com> - 2013-01-02 01:32 +0100
          Re: NoClassDefFoundError Roedy Green <see_website@mindprod.com.invalid> - 2013-01-02 09:49 -0800
            Re: NoClassDefFoundError Arne Vajhøj <arne@vajhoej.dk> - 2013-01-02 19:37 -0500
    Re: NoClassDefFoundError emf <emfril@gmail.com> - 2013-01-06 19:19 -0500
      Re: NoClassDefFoundError Arne Vajhøj <arne@vajhoej.dk> - 2013-01-06 19:26 -0500
        Re: NoClassDefFoundError emf <emfril@gmail.com> - 2013-01-09 01:18 -0500
          Re: NoClassDefFoundError Lew <lewbloch@gmail.com> - 2013-01-08 22:37 -0800
          Re: NoClassDefFoundError Arne Vajhøj <arne@vajhoej.dk> - 2013-01-09 21:36 -0500
            Re: NoClassDefFoundError Lew <lewbloch@gmail.com> - 2013-01-09 18:43 -0800
      Re: NoClassDefFoundError Lew <lewbloch@gmail.com> - 2013-01-06 17:29 -0800
  Re: NoClassDefFoundError Lew <lewbloch@gmail.com> - 2013-01-01 01:26 -0800
    Re: NoClassDefFoundError lipska the kat <lipskathekat@yahoo.co.uk> - 2013-01-01 09:38 +0000
  Re: NoClassDefFoundError Roedy Green <see_website@mindprod.com.invalid> - 2013-01-01 12:25 -0800

csiph-web