comp.lang.java.programmer
http://groups-beta.google.com/group/comp.lang.java.programmer
[EMAIL PROTECTED]

Today's topics:

* Where do you find out what type of questions are to be asked in each 
newsgroup? - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7c1d277b9ef3ecd3
* run process (Java/Shell) every 10 minutes - 3 messages, 3 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5ef08c47286130ad
* Enums in inner classes - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7ecb6f0754c4b0df
* Building an Opensource project...newb question. - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d160d6e57d983826
* Problem with JAX-RPC generated clients. - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6c42ddb3908ea335
* Arabic Text Rendering - 3 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b8eaff63afb0e5f7
* Setting up a filter based on server name - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/801866155eeb6057
* Classes SSH-SCP for Java - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b78404f5308632ce
* Challenge: Triangles puzzle - 2 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5e013ca5d7daa5f0
* exception handling problem - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/75dffc1e26b79688
* Asynchronous code help... - 2 messages, 2 authors
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/12b150d70e54d547
* Java Textbook and Instructor's Kit for Highschool - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b77471f015adb099
* Ant Deploy Task Help Needed!!!!! - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c0e92f8078749598
* Strange problem!!(it is, atleast to me!!) - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/275778583678f0e9
* MMS Protocol and JMF - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c858bbcbd26b2947
* request.setAttribute(...) versus session.setAttribute(...) - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e301f649474cd744
* jdeveloper project file structure - 1 messages, 1 author
  
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f23ff9ae612cd6b5
  
==========================================================================
TOPIC: Where do you find out what type of questions are to be asked in each newsgroup?
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7c1d277b9ef3ecd3
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 1:35 pm
From: Eric Sosman <[EMAIL PROTECTED]> 

Ken Adams wrote:
> So where do we find out what each newgroup theme is. Speciffically what are 
> the diffrences between comp.lang.java.developer, ..java.help, .. 
> java.programmer?

    There's a periodic posting entitled

        comp.lang.java.{help,programmer} - what they're for

... which you can either wait for or search for at Google.

-- 
[EMAIL PROTECTED]





==========================================================================
TOPIC: run process (Java/Shell) every 10 minutes
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5ef08c47286130ad
==========================================================================

== 1 of 3 ==
Date:   Wed,   Oct 27 2004 2:00 pm
From: [EMAIL PROTECTED] (N.K.) 

Hi,
I need to run a shell script or a java app every 10 minutes for
several hours starting at the specified time and ending at the
specified time.
I can schedule a cron job for it but it would be about 40 to 50
crontab entries and I don't know if that is just stupid to do and if
there is a better way to do it.
I was wondering if I can write some kind of a deamon process or a java
server process. Should I use Server Socket?
I have a Fedora Core 1 as a platform.

Thanks in advance
NK



== 2 of 3 ==
Date:   Wed,   Oct 27 2004 2:21 pm
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 

You might not need "40 to 50 crontab entries", just something like:
0,10,20,30,40,50 7,8,9 * * * /path/to/your/shell-script

Or you can have a single cron entry that launches a shell script at the
start time and loops until the end-time (which you pass in as an arg,
-e for "end"?):
0 7 * * * /path/to/your/shell-script -e "10:00:00"

Or do the same with a Java class, for that matter:
0 7 * * * /usr/bin/java -classpath "your class path"
com.parkerglobal.nkapp -e "10:00:00"




== 3 of 3 ==
Date:   Wed,   Oct 27 2004 2:18 pm
From: Paul Lutus <[EMAIL PROTECTED]> 

N.K. wrote:

> Hi,
> I need to run a shell script or a java app every 10 minutes for
> several hours starting at the specified time and ending at the
> specified time.
> I can schedule a cron job for it but it would be about 40 to 50
> crontab entries and I don't know if that is just stupid to do and if
> there is a better way to do it.
> I was wondering if I can write some kind of a deamon process or a java
> server process. Should I use Server Socket?
> I have a Fedora Core 1 as a platform.

Why is this posted in Java newsgroups? Obviously Java can do this, but it is
is not the appropriate way to create a daemon and run periodic system
tasks.

Create a shell script to run your task in the range of specified times, put
it in the background, end of story. Not tested, just a concept:

#!/bin/sh

while true
do
        d=$(date +%H%M)
        if [ "$d" -ge "1215" -a "$d" -lt "1546" ]
        then
                # do something here
        fi
        sleep 36000 # ten minutes
done

-- 
Paul Lutus
http://www.arachnoid.com





==========================================================================
TOPIC: Enums in inner classes
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/7ecb6f0754c4b0df
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 2:05 pm
From: "xarax" <[EMAIL PROTECTED]> 

"Boudewijn Dijkstra" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "G Winstanley" <[EMAIL PROTECTED]> schreef in bericht
> news:[EMAIL PROTECTED]
> >> I think the modifier it's complaining about is "static"--enums are
> >> implicitly static, and you can't declare a static class inside a
> >> non-static inner class.
> >
> > Ah ha! Of course, I should have realized that. Thanks for pointing out
> > the obvious. Of course it now compiles.
>
> Huh?  In your reply to my last post in this thread, you said you already tried
> static...

He tried "static" on the enum declaration, not
on the enclosing inner class.






==========================================================================
TOPIC: Building an Opensource project...newb question.
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/d160d6e57d983826
==========================================================================

== 1 of 2 ==
Date:   Wed,   Oct 27 2004 2:16 pm
From: [EMAIL PROTECTED] (JavaNewb) 

First of all, apologies in advance for this newbie question...

I'm a fairly seasoned C++ programmer who is new to Java, I recently
downloaded the source for an Opensource application which was of
interest. By doing this I opened a large, and mildly frustrating can
of worms! :-)

I've been trying for a few days now to figure out how to build the
project from the source, I have been unable to find the equivalent of
a Visual Studio workspace in the source that I downloaded.

In the root directory there are the following files:

.classpath (Not a filetype, thats the actual filename)
.project (Not a filetype, thats the actual filename)
.jardesc
.MF

There's also sub-directories that contain all the source, .java files.

Is there anyway I can tell what IDE I should be opening this project
in, I haven't been able to find an app that will read the .project
file. I thought it might be an Eclipse project, but that doesn't seem
to do it either.

ANY help (or pity) would be greatfully recieved!!! Many thanks in
advance for any help, advice, or flames.

PS: If it's helpful the .project files contents are included below:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
        <name>INT</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
                <buildCommand>
                        <name>org.antlr.eclipse.core.antlrbuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
                <buildCommand>
                        <name>org.eclipse.jdt.core.javabuilder</name>
                        <arguments>
                        </arguments>
                </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
                <nature>org.eclipse.jdt.core.javanature</nature>
                <nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
                <nature>org.antlr.eclipse.core.antlrnature</nature>
        </natures>
</projectDescription>



== 2 of 2 ==
Date:   Wed,   Oct 27 2004 2:33 pm
From: Paul Lutus <[EMAIL PROTECTED]> 

JavaNewb wrote:

> First of all, apologies in advance for this newbie question...
> 
> I'm a fairly seasoned C++ programmer who is new to Java, I recently
> downloaded the source for an Opensource application which was of
> interest. By doing this I opened a large, and mildly frustrating can
> of worms! :-)
> 
> I've been trying for a few days now to figure out how to build the
> project from the source, I have been unable to find the equivalent of
> a Visual Studio workspace in the source that I downloaded.

Visual Studio? That isn't even Java as the term is commonly understood.
 
> In the root directory there are the following files:
> 
> .classpath (Not a filetype, thats the actual filename)
> .project (Not a filetype, thats the actual filename)
> .jardesc
> .MF

Those are normal file names for files that are meant to remain hidden unless
special efforts are made.

> 
> There's also sub-directories that contain all the source, .java files.
> 
> Is there anyway I can tell what IDE I should be opening this project
> in,

$ grep -i "eclipse" .project && echo "Eclipse is likely the IDE."

> I haven't been able to find an app that will read the .project 
> file. I thought it might be an Eclipse project, but that doesn't seem
> to do it either.

"That doesn't seem to do it either"? Tell us what you did, with what
software, after typing what shell commands, and with what results.

-- 
Paul Lutus
http://www.arachnoid.com





==========================================================================
TOPIC: Problem with JAX-RPC generated clients.
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/6c42ddb3908ea335
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 2:36 pm
From: [EMAIL PROTECTED] (jmc) 

I am generating a web service client with JAX-RPC 1.0.01 (have to use
this
older version, unfortunately).  The client gets generated and will
compile.
However, it does not generate any beans to represent the complex data
structures passed back and forth.  For every single method on the
service,
they params get passed back and forth as javax.xml.soap.SOAPElement
objects:

public javax.xml.soap.SOAPElement
baseCurrencySelect(javax.xml.soap.SOAPElement parameters) throws
java.rmi.RemoteException {
(generated with jax rpc 1.0.01).

It would probably all work, but I want the methods to use data objects
(beans)
representing this method specifically.  I get this desired result when
I generate the client from the wsdl using AXIS 1.0:

public Sandlot.XmlWebServices._base_currency_select_response
baseCurrencySelect(Sandlot.XmlWebServices._base_currency_select_request
parameters) throws java.rmi.RemoteException {

This is all with a wsdl on my local computer.  Just for comparison, I
tried
generating a client using the same JAX-RPC and the very same scripts,
only
this time pointing at Googl's web service wsdl:
http://api.google.com/GoogleSearch.wsdl

With the Google wsdl, the beans are generated and the methods use
them:
    public GoogleSearch.GoogleSearchResult
doGoogleSearch(java.lang.String key, java.lang.String q, int start,
int maxResults, boolean filter, java.lang.String restrict, boolean
safeSearch, java.lang.String lr, java.lang.String ie, java.lang.String
oe) throws java.rmi.RemoteException {

So, I suspect it may have to do with the WSDL itself.  Any ideas of
why my
client-side class is not generating or using data beans, but rather 
using javax.xml.soap.SOAPElement objects, which are essentailly
open-ended and undefined about what member data might be present
(unlike
a desired bean class)?

Any help is much appreciated.

Thanks.




==========================================================================
TOPIC: Arabic Text Rendering
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b8eaff63afb0e5f7
==========================================================================

== 1 of 3 ==
Date:   Wed,   Oct 27 2004 2:38 pm
From: steve <[EMAIL PROTECTED]> 

On Wed, 27 Oct 2004 17:18:53 +0800, Mickey Segal wrote
(in article <[EMAIL PROTECTED]>):

> http://www.physci.org/launcher.jsp?class=/codes/eg/JArabicInUnicode fails 
> for me on Java 1.5.0 on Windows XP, reporting the following:
> 
> java.lang.ClassFormatError: Truncated class file
>  at java.lang.ClassLoader.defineClass1(Native Method)
>  at java.lang.ClassLoader.defineClass(Unknown Source)
>  at java.security.SecureClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.defineClass(Unknown Source)
>  at java.net.URLClassLoader.access$100(Unknown Source)
>  at java.net.URLClassLoader$1.run(Unknown Source)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(Unknown Source)
>  at sun.applet.AppletClassLoader.findClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.applet.AppletClassLoader.loadClass(Unknown Source)
>  at java.lang.ClassLoader.loadClass(Unknown Source)
>  at sun.applet.AppletClassLoader.loadCode(Unknown Source)
>  at sun.applet.AppletPanel.createApplet(Unknown Source)
>  at sun.plugin.AppletViewer.createApplet(Unknown Source)
>  at sun.applet.AppletPanel.runLoader(Unknown Source)
>  at sun.applet.AppletPanel.run(Unknown Source)
>  at java.lang.Thread.run(Unknown Source)
> 
> 

it looks like it is corrupted.

java.lang.ClassFormatError: Truncated class file




== 2 of 3 ==
Date:   Wed,   Oct 27 2004 6:03 pm
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Thu, 28 Oct 2004 05:38:49 +0800, steve wrote:

> On Wed, 27 Oct 2004 17:18:53 +0800, Mickey Segal wrote
> (in article <[EMAIL PROTECTED]>):
> 
>> http://www.physci.org/launcher.jsp?class=/codes/eg/JArabicInUnicode fails 
>> for me on Java 1.5.0 on Windows XP, reporting the following:
>> 
>> java.lang.ClassFormatError: Truncated class file
..
> it looks like it is corrupted.
> 
> java.lang.ClassFormatError: Truncated class file

A couple of details missing from your report steve.



== 3 of 3 ==
Date:   Wed,   Oct 27 2004 6:07 pm
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Thu, 28 Oct 2004 05:38:49 +0800, steve wrote:

> On Wed, 27 Oct 2004 17:18:53 +0800, Mickey Segal wrote
> (in article <[EMAIL PROTECTED]>):
> 
>> http://www.physci.org/launcher.jsp?class=/codes/eg/JArabicInUnicode fails 
>> for me on Java 1.5.0 on Windows XP, reporting the following:
>> 
>> java.lang.ClassFormatError: Truncated class file
..
> it looks like it is corrupted.
> 
> java.lang.ClassFormatError: Truncated class file

A couple of things missing from your report steve..

a) did you visit the page, or are you just repeating 
what Mickey reported?

b) If you visited and got that exception, what exact Java/OS 
are you running?  (See the properties applet..
<http://www.physci.org/pc/property.jsp?prop=java.version+os.name>)

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane




==========================================================================
TOPIC: Setting up a filter based on server name
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/801866155eeb6057
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 3:20 pm
From: [EMAIL PROTECTED] (MarkN) 

This question pertains to the Java Servlet specification.

Is it possible to specify a <url-pattern> for a filter based on the
server name?
Trying to specify a url-pattern such as "www.bla.com/*" doesn't work. 
Am I missing something here or am I trying to do something that is not
supported.


Example (that does not work as intended):

  <filter>
    <filter-name>TF</filter-name>
    <filter-class>TestFilter</filter-class>
  </filter>
                           

  <filter-mapping>
    <filter-name>TF</filter-name>
    <url-pattern>www.bla.com/*</url-pattern>
  </filter-mapping>


Thanks for your time!




==========================================================================
TOPIC: Classes SSH-SCP for Java
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b78404f5308632ce
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 3:23 pm
From: Alex Hunsley <[EMAIL PROTECTED]> 

Xavier wrote:
> Hello,
> 
> I am searching for classes to use SCP (server use SSH2) in my Java
> application.
> Any idea ?

Learn how to use this really useful site called "Google".

> Any link ?

www.google.com

> 
> Thanks
> 
> Xavier
> 
> 




==========================================================================
TOPIC: Challenge: Triangles puzzle
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/5e013ca5d7daa5f0
==========================================================================

== 1 of 2 ==
Date:   Wed,   Oct 27 2004 3:32 pm
From: Gareth McCaughan <[EMAIL PROTECTED]> 

M Jared Finder wrote:

[I said:]
> > I've put a little plot of the results at
> >     http://homepage.ntlworld.com/g.mccaughan/software/tri-times.ps
> >     http://homepage.ntlworld.com/g.mccaughan/software/tri-times.pdf
> > which should be reasonably self-explanatory. The letters above and
> > to the right of the main plot show the marginal distributions.
> > The ones below the main plot are those with no time specified in
> > Frank's table.
> > All the numbers depicted should be taken with a grain of salt;
> > in particular, I haven't made a very serious attempt to correct
> > for the fact that some people will have reported non-blank non-comment
> > line counts and others will have included everything. (Where the
> > distinction was made, I chose the non-blank non-comment figure,
> > or the nearest thing thereto.) Likewise, those who gave times
> > may have meant different things by them.
> > There may be interesting conclusions to draw, but I am not going
> > to draw them. :-)
> 
> What do the Python, Java, Lisp, and Ruby entries with times less than
> 0 mean?  Has time travel already been invented?

As I said ...

> > The ones below the main plot are those with no time specified in
> > Frank's table.

-- 
Gareth McCaughan
.sig under construc



== 2 of 2 ==
Date:   Wed,   Oct 27 2004 3:32 pm
From: Gareth McCaughan <[EMAIL PROTECTED]> 

[EMAIL PROTECTED] (Mark McConnell) writes:

> Gareth McCaughan <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> > I've put a little plot of the results at
> >     http://homepage.ntlworld.com/g.mccaughan/software/tri-times.ps
> >     http://homepage.ntlworld.com/g.mccaughan/software/tri-times.pdf
> > [snip]
> > All the numbers depicted should be taken with a grain of salt;
> > in particular, I haven't made a very serious attempt to correct
> > for the fact that some people will have reported non-blank non-comment
> > line counts and others will have included everything. (Where the
> > distinction was made, I chose the non-blank non-comment figure,
> > or the nearest thing thereto.) Likewise, those who gave times
> > may have meant different things by them.
> 
> Also, people chose different definitions of the problem--of what it
> means to input points and lines.

Yes. In particular, the *very* short solutions all (1) used
assignments within the program as input (though they didn't
count those assignments as part of the code), thus requiring
0 lines for handling input, and (2) used numbers to represent
points, which enables various minor algorithmic simplifications.

Whether you think of that as cheating or as intelligent use
of the language's facilities is up to you. :-)

-- 
Gareth McCaughan
.sig under construc




==========================================================================
TOPIC: exception handling problem
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/75dffc1e26b79688
==========================================================================

== 1 of 2 ==
Date:   Wed,   Oct 27 2004 3:52 pm
From: Chris Smith <[EMAIL PROTECTED]> 

[EMAIL PROTECTED] says...
> That code doesn't even come close to compiling.  It has multiple errors, 
> both typographical and type-based, as well as being incomplete.  If you 
> want to ask a question about the behavior of a particular piece of code, 
> actually give us the piece of code you're using.  That's very clearly 
> not it.

Admittedly the use of Integer is a bit odd, but the code does compile 
(modulo the wrapping from the OP's news reader).  What do you see wrong 
with it?

-- 
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation



== 2 of 2 ==
Date:   Wed,   Oct 27 2004 4:03 pm
From: Carl Howells <[EMAIL PROTECTED]> 

Chris Smith wrote:
> [EMAIL PROTECTED] says...
> 
>>That code doesn't even come close to compiling.  It has multiple errors, 
>>both typographical and type-based, as well as being incomplete.  If you 
>>want to ask a question about the behavior of a particular piece of code, 
>>actually give us the piece of code you're using.  That's very clearly 
>>not it.
> 
> 
> Admittedly the use of Integer is a bit odd, but the code does compile 
> (modulo the wrapping from the OP's news reader).  What do you see wrong 
> with it?
> 

Hmm.  Oops, I should have looked more carefully.  The line I was looking 
at, with MANY errors in it, is commented out.  I suppose that's why it's 
commented out...




==========================================================================
TOPIC: Asynchronous code help...
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/12b150d70e54d547
==========================================================================

== 1 of 2 ==
Date:   Wed,   Oct 27 2004 4:08 pm
From: adrian <[EMAIL PROTECTED]> 

Hi all,

I am trying to programming a server to do some function
calls in a P2P. One of this functions return a String but
in asynchronous way.Can you give some code guidelines of
how to cope with asynchronous logic? I mean how to catch
this string(message) that returned from the function.

My protocol:
The client asks the server for some data,server don't know
and ask P2P,server "take" that reply and forward it to client.

Thank you,
Adrian.



== 2 of 2 ==
Date:   Wed,   Oct 27 2004 5:21 pm
From: "Matt Humphrey" <[EMAIL PROTECTED]> 


"adrian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I am trying to programming a server to do some function
> calls in a P2P. One of this functions return a String but
> in asynchronous way.Can you give some code guidelines of
> how to cope with asynchronous logic? I mean how to catch
> this string(message) that returned from the function.
>
> My protocol:
> The client asks the server for some data,server don't know
> and ask P2P,server "take" that reply and forward it to client.

An easy approach is for the server to make an immediate answer that contains
a task id--some kind of identifier that the client can later user to poll
for results.  Periodically the client can ask if the answer is ready and get
back either that it's not ready or that it is and here's the answer.

Converting a pure client/server request system into one that permits
asynchonous replies can be very tricky, particularly because the reply to
any ordinary request from client to server must be distinguished from an
incoming asynchronous notice.  It's doable, though.

Cheers,
Matt Humphrey  [EMAIL PROTECTED]   http://www.iviz.com/






==========================================================================
TOPIC: Java Textbook and Instructor's Kit for Highschool
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/b77471f015adb099
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 4:14 pm
From: [EMAIL PROTECTED] (Rodney) 

George,

I second the recommendations for BlueJ and JGrasp.  I use both for
teaching Java programming to non-computer-science folks with no prior
programming experience.

Another effective item is Karel J. Robot:
<http://csis.pace.edu/~bergin/KarelJava2ed/Karel++JavaEdition.html>
It works well with BlueJ:
<http://www.apcomputerscience.com/bluej/index.htm>

There are a many good texts, many with Instructor resources.

Check out the resource listings at SIGCSE (the ACM's Special Interest
Group on Computer Science Education):
<http://www.sigcse.org/topics/>

Have fun!

  -- Rodney

http://www.oxy.edu/~rodney




==========================================================================
TOPIC: Ant Deploy Task Help Needed!!!!!
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c0e92f8078749598
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 4:37 pm
From: "Mike Schilling" <[EMAIL PROTECTED]> 


"bugbear" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Chris Pieper wrote:
>> Ok, I was hoping to use ANT to aid in my team's deployment's to our
>> development server.
>>
>> Currently the system is designed as follows:
>>
>> Each Developer maintains a local checked out (from CVS) copy of a
>> project. Each developer is tasked with making various changes, of
>> which there is little chance for the need of mutliple editors on any
>> given java file.
>>
>> Then we have our development server which maintains the current
>> working versions of all the java class files. Each developer after
>> making his edits, copies the new class file to the server so that the
>> dev server maintains an accurate collection of the system given
>> changes by developer.
>
> Why not get the developers to check in sources (to CVS)
> and have an overnight build (on the central reference machine)
> do a full checkout-build-test?
>
> All this outside-CVS copying of class (AKA derived) files
> seems horribly wrong.

What he said.  The whole point of an SCM system is to make this sort of 
thing automated and reliable.

Besides, you can't assume that the only input to a .class file is the 
corresponding .java file. 






==========================================================================
TOPIC: Strange problem!!(it is, atleast to me!!)
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/275778583678f0e9
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 5:35 pm
From: Alex Kizub <[EMAIL PROTECTED]> 



> I have Win XP SP2, JRE 1.5 installed with IE. Now for certain sites my

Read what SP2 is.
It just blocked all ports. And, of course you cannot esatblish any
connection.
You should manually allow XP SP2 open particular ports.
Which ones and how I don't know and don't want to know because I'll never
use this SP2.
That's my suggestion for you too.

Alex Kizub.





==========================================================================
TOPIC: MMS Protocol and JMF
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/c858bbcbd26b2947
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 5:47 pm
From: "Lee" <[EMAIL PROTECTED]> 

> If it is something that can only cater to Windows Media Player,
> I would suggest that .NET might be a better way to go on this one.
>

urghhh....






==========================================================================
TOPIC: request.setAttribute(...) versus session.setAttribute(...)
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/e301f649474cd744
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 6:01 pm
From: Andrew Thompson <[EMAIL PROTECTED]> 

On Wed, 27 Oct 2004 16:17:27 GMT, pet0etie wrote:

> "Sudsy" <[EMAIL PROTECTED]> wrote in message
> 
> <quote>I've written an article about how the "back" button can actually
> propogate upwards unintentionally, especially when you forward to another
> Struts Action: you end up on the first page of a flow if you don't guard
> your session/request attributes.</quote>
> 
> where can i find that article ?

I am not sure, but Sudsy mentions both Struts and the 'back' button
in this article.. <http://www.sudsy.net/technology/struts-arch.html>

-- 
Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane




==========================================================================
TOPIC: jdeveloper project file structure
http://groups-beta.google.com/group/comp.lang.java.programmer/browse_thread/thread/f23ff9ae612cd6b5
==========================================================================

== 1 of 1 ==
Date:   Wed,   Oct 27 2004 6:02 pm
From: "nooobody" <[EMAIL PROTECTED]> 

Sudsy wrote:
> nooobody wrote:
>> Well, we are using Ant, just accessing it through the IDE. I may
dump
>> Jdeveloper and go back to Eclipse, which I used previously on
simpler
>> projects than my current one. I may  even try NetBeans. Sometimes
I'm
>> tempted to go back to Textpad; we have one developer where I work
who
>> does quite well with it.
>
> Is Bad Boy hiring?

I'd be the last man to know





=======================================================================

You received this message because you are subscribed to the
Google Groups "comp.lang.java.programmer".  

comp.lang.java.programmer
[EMAIL PROTECTED]

Change your subscription type & other preferences:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe

Report abuse:
* send email explaining the problem to [EMAIL PROTECTED]

Unsubscribe:
* click http://groups-beta.google.com/group/comp.lang.java.programmer/subscribe


=======================================================================
Google Groups: http://groups-beta.google.com 

Reply via email to