[java ee programming] Question

2009-02-06 Thread Chase Hainsworth
How much Java experience do you think you would need to manage and add to a MMORPG that runs on a server? If needed, what other experience would I need? Thanks. ~Life is but a grain of sand on an endless beach~ --~--~-~--~~~---~--~~ You received this message

[java ee programming] what is the difference between web server and web container

2009-02-06 Thread Anas
hello there what is the difference between web server and web container ? is the web container part of web server ? is servlet web container or web component ? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "J

[java ee programming] current java distributed computing technologies

2009-02-06 Thread Ken
I tried to understand the current available java distributed computing technologies. I have the following list, I guess Web Services/SOA should be the latest technology. please advice. RMI CORBA Web Services/SOA thanks. --~--~-~--~~~---~--~~ You received this mess

[java ee programming] LAB-4018 Web Application Security

2009-02-06 Thread SuperHeo
... 1. Only parentabstract abstract role can access the application - you will have to modify web.xml 2. An invalid user "xyz" tries to access the application, a your own error page (HTML or JSP page) called myownerror.jsp should be displayed indicating the error condition. 3. Users "sang", "y

[java ee programming] Re: Lab -6 Expression Language

2009-02-06 Thread Constantine J Coutsoukes
Can you post your code? Classes and JSp. -Original Message- From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of skhare Sent: Friday, February 06, 2009 12:06 PM To: Java EE (J2EE) Programming with Passio

[java ee programming] Re: basic working of GreetingServlet in Hello2 project of ServletBasics lab

2009-02-06 Thread skhare
I have confirmed by adding breakpoint in GreetingServlet.java that there are two requests handled by this class. First one renders the form and as the first time username field value is null it does not include the ResponseServlet output in the response. Second time as value of username parameter

[java ee programming] Re: Glassfish password?

2009-02-06 Thread tariqmehmood....@gmail.com
The default Administrator of Glassfish App server is "admin" and its default password is "adminadmin" Regards, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To pos

[java ee programming] Lab -6 Expression Language

2009-02-06 Thread skhare
hi, Do Person and Name class have to be plain Java classes or have to follow Java Bean Naming conventions? I have made both of them as beans (added setters and getters and made no-arg construcor) I am missing something because of which I am not able to access using dot operator or [ operator in j

[java ee programming] Re: Lab 4008 - Tag Files Problem

2009-02-06 Thread Chris
OK. I used a fresh set of the Tomcat demo files and rebooted the server and now it works. I'd still be interested if anyone's got an idea about what was up though. I don't mind when the code is complicated and things don't work due to my lack of understanding - I can usually figure things out in

[java ee programming] Re: Question about LAB-4002

2009-02-06 Thread Kristanto Oetomo
Hi Mark, You could probably do this: MyOwnServlet myownpackage.MyOwnServlet MyOwnServlet *.do So a declared welcome.do file would be redirected to the servlet. welcome.do would be the point of entry that you declare in the web.xml Cheers Kris

[java ee programming] Lab 4008 - Tag Files Problem

2009-02-06 Thread Chris
I'm having a problem with Excercise2.3 when I try to add an fourth attribute to the tag. The tag file is: --- begin panel.tag-- <%@ attribute name="color" %> <%@ attribute name="bgcolor" %> <%@ attribute name="title" %> <%@ attribute name="subtitle" %> ${title}: ${subtitle}

[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Mikhail Gerdov
I used threads only to simulate delay in servlet preocessing. Other than that it all happens in one thread inside the request.How do I specify the timeout server close on disconnected requests, can I get some notification in the code to break the loop in request? Would the timeout affect connectio

[java ee programming] Re: Glassfish password?

2009-02-06 Thread dinesh
user name : admin (incase you have not set during installation) password : adminadmin On Feb 5, 8:18 pm, Carlos Duran wrote: > Hi, > > I installed Glassfish as part of the NetBeans IDE 6.5 complete download, > as suggested in the lab exercise, as I am running my forst project, > Glassfish is as

[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Artashes Hovasapyan
For timeout configuring, in case of Tomcat, you should look for Connector configuration. There are connectionTimeout and keepAliveTimeout attributes. In regards to notifications... I'm not sure there is a straightforward solution. Maybe it worth lookinag at event listeners? -- Regards, Artashes Ho

[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Artashes Hovasapyan
If client terminates the connection the server will close it after the timeout (should be specified in server configuration). Another thing is that IMHO it is not a good idea to manage threads manually inside of any component - you should leave it for container, it is container's job to control thr

[java ee programming] Servlet long processing cancelation when browser closes.

2009-02-06 Thread Mikhail Gerdov
Hi, I have a servlet which processes a request for a long time. It suppose to keep doing stuff in the loop inside doPost and send data through response's out writer. Effectively that continuously appends data in the clients browser . But the problems accures when client just closes the browser. I

[java ee programming] Re: Netbeans version & AppServer type?

2009-02-06 Thread Sang Shin
Tomasz Dziurko wrote: > I am using NB 6.5 instead of 6.1 and so far no problems appeared. I > didn't try using Tomcat. Yes, please use NetBeans 6.5. In time, I am going to update the documents to reflect 6.5 screen captures and so on. Thanks. -Sang > > Regards, > Tomasz Dziurko > > > --

[java ee programming] Re: Netbeans version & AppServer type?

2009-02-06 Thread Tomasz Dziurko
I am using NB 6.5 instead of 6.1 and so far no problems appeared. I didn't try using Tomcat. Regards, Tomasz Dziurko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group.

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Gaurav Verma
No Way dude Clear Console Screen from program is not possible in java . So don't try. From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of Evans Anyokwu Sent: Friday, February 06, 2009 4:07 PM To: nelson.ro

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Evans Anyokwu
The clue to the problem is in the error message - try putting your code inside a try/catch clause. e.g try { Runtime.getRuntime().exec("cls"); ... } catch (IOException e) { e.printStackTrace(); } -- Evans http://www.javawug.org -

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Nelson Rodrigo - LHQ
Hi when I use that Its getting error Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please consider our environment before printing * _ From: Vasile

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Eugene Grant
Hi, Google your query with http://www.google.com/search?q=java+dos+command+cls to see some discussions and solutions about this. Regards On Fri, Feb 6, 2009 at 9:12 AM, Nelson Rodrigo - LHQ < nelson.rodr...@loadstarlk.com> wrote: > Ok Ashi and Bernd Thaks you very Much > > > > Nelson Rodrigo

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Nelson Rodrigo - LHQ
Ok Ashi and Bernd Thaks you very Much Nelson Rodrigo Staff Officer - Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please consider our environment before printing * _ From: ashish shre

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Bernd Ritter
Hi, you shouldn't do that as you would brake the platform independency of java. Better try to run a System.out.println(""); for like 30 times in a loop. If you really want to execute a operating system command (syscall) do this: Runtime.getRuntime().exec("cls"); This is just a hint! Look up Run

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread Nelson Rodrigo - LHQ
Dear Ashi Thanks for the reply Can you please direct me how can I use CLS command, I mean what is the syntax Nelson Rodrigo Staff Officer – Software Development LOADSTAR (PRIVATE) LIMITED Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311 6556 P SAVE PAPER - Please co

[java ee programming] Re: Clear Console Screen

2009-02-06 Thread ashish shrestha
Hi Nelson! You said u are working with console so "cls" command can clear your screen. For printing in separate line you can use: System.out.println("\n"); // "\n" will show your output in new line Regards Ashish Shrestha On Feb 6, 3:09 am, "Nelson Rodrigo - LHQ" wrote: > Dear Friends > > I'm

[java ee programming] Clear Console Screen

2009-02-06 Thread Nelson Rodrigo - LHQ
Dear Friends I'm new to Java and I'm working with Console Application (DOS Mood) So my problem is when I execute the program I want to clear full screen (like CLS command) and display my result And also I want to know how I can keep separate line in out put (Like System.out.println("");

[java ee programming] Re: Glassfish password?

2009-02-06 Thread Kristanto Oetomo
It would be adminadmin In case you're interested about the default password for java db, it's app cheers Kris On Fri, Feb 6, 2009 at 1:18 PM, Carlos Duran wrote: > > Hi, > > I installed Glassfish as part of the NetBeans IDE 6.5 complete download, > as suggested in the lab exercise, as I am run

[java ee programming] Netbeans version & AppServer type?

2009-02-06 Thread Mick T.
The first homework instructions say to use Netbeans 6.1. Can I use NetBeans 6.5? Also, if can I use Tomcat instead of Glassfish? Thanks Mick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programmi

[java ee programming] Re: Glassfish password?

2009-02-06 Thread nikita.koselev
Try "adminadmin" please. On Feb 6, 4:18 am, Carlos Duran wrote: > Hi, > > I installed Glassfish as part of the NetBeans IDE 6.5 complete download, > as suggested in the lab exercise, as I am running my forst project, > Glassfish is asking for the admin password, I did not setup any password > du

[java ee programming] Re: Question about LAB-4002

2009-02-06 Thread Yalon
Hi Mark, Normally the user is the one who enters the address in his browser (either by keying in or by clicking some link). When working with NetBeans, one can define as one of the project properties, which URL do load for the Run action. For the hello2 project, this has already been defined for

[java ee programming] Re: Homework 3 JSP basics

2009-02-06 Thread Rajiv Jha
Hi Harmeet , Use 'action' in your form tag . Also you need to define servlets mappings in web.xml if you are submitting to servlets. Hope this helps :-) - Original Message - From: Harmeet To: Java EE (J2EE) Programming with Passion! Sent: Friday, February 06, 2009 3:45 AM

[java ee programming] Re: Glassfish password?

2009-02-06 Thread Allen Montejo
try adminadmin Thanks, Allen Montejo http://javajumper.blogspot.com/ On Fri, Feb 6, 2009 at 10:18 AM, Carlos Duran wrote: > > Hi, > > I installed Glassfish as part of the NetBeans IDE 6.5 complete download, > as suggested in the lab exercise, as I am running my forst project, > Glassfish is as

[java ee programming] Re: Glassfish password?

2009-02-06 Thread Mick T.
On Feb 5, 9:18 pm, Carlos Duran wrote: > Hi, > > I installed Glassfish as part of the NetBeans IDE 6.5 complete download, > as suggested in the lab exercise, as I am running my forst project, > Glassfish is asking for the admin password, I did not setup any password > during installation, could

[java ee programming] Netbeans version & AppServer type?

2009-02-06 Thread Mick T.
The first homework instructions say to use Netbeans 6.1. Can I use NetBeans 6.5? Also, if I use Tomcat instead of Glassfish? Thanks Mick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming w