× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks. I didn't know about the PHP plugin or the ability to use Tomcat as
the test server.
Kelly

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]On Behalf Of Mark Phippard
Sent: Friday, September 17, 2004 7:59 AM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] JSR 223


I do not think there is any possible way for anyone on this list to know 
that, and I doubt anyone from IBM would tell you.

I will say that unless the JSR originates from IBM, like the new SDO 
stuff, it is very unlikely that WebSphere would support it before the spec 
becomes final or until it becomes part of the J2EE standard.  If this gets 
tossed into J2EE 5.0 then WebSphere would have to support it.  Assuming 
that this JSR is in early stages, then you are talking WAS 7.0 at the 
absolute earliest.

That being said....

WDSC has a good text editor built in and you can get plugins for PHP in 
WDSC.

http://eclipse-plugins.info/eclipse/index.jsp

Also, WDSC is capable of using Tomcat as its test environment just as well 
as WebSphere.

Mark



wdsci-l-bounces@xxxxxxxxxxxx wrote on 09/17/2004 08:49:56 AM:

> Does anyone know if IBM plans to support JSR 223 in the WebSphere
> Application Server?  JSR 223 is a new specification from that Java 
Community
> Process that lets scripting languages like PHP use Java classes when run 
in
> a Servlet container. For example, here's a test script written in PHP 
that
> uses IBM Toolbox for Java classes to authenticate a user on the iSeries:
> 
> <html>
> <head></head>
> <body>
> <?php
>  try {
>    //Set the network name of the iSeries, the user name, and the user
> password.
>   $clsSystem = new Java("java.lang.String", "mysystem");
>   $clsUser = new Java("java.lang.String", "myname");
>   $clsPassword = new Java("java.lang.String", "mypassowrd");
>   //Create a connection to the iSeries.
>   $iSeries = new Java("com.ibm.as400.access.AS400", $clsSystem, 
$clsUser,
> $clsPassword);
>   //Authenticate the user and respond to the outcome.
>   $uservalid = $iSeries->authenticate($clsUser, $clsPassword);
>   if ($uservalid==true) {
>    echo("valid user");
>   } else {
>    echo("invalid user");
>   }
>  } catch (Exception $e) {
>   echo("Error."); 
>  }
> ?>
> </body>
> </html>
> 
> The PHP script could also get the user information from a login form and
> start a session to remember the user name and password for subsequent
> interactions with the iSeries. No need to code Servlets or JSPs. Just 
drop
> this script in a Java Web application like an HTML page and it works. 
> 
> Right now I'm using a basic text editor and the Tomcat Servlet container
> (since that was the reference implementation for JSR 223). However, I'd 
like
> to be able to code my scripts in WebSphere Development Studio, test them 
in
> the WebSphere Application Server bundled with the studio, and install 
them
> in WebSphere Application Server Express for production. 
> 
> Anyone know IBM's plans for JSR 223 and WebSphere?
> 
> Thanks,
> Kelly
> 
> 
> _______________________________________________
> This is the Websphere Development Studio Client for iSeries  (WDSCI-L) 
mailing list
> To post a message email: WDSCI-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
> or email: WDSCI-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/wdsci-l.
> 
> 
____________________________________________________________________________
_
> Scanned for SoftLanding Systems, Inc. by IBM Email Security Management 
> Services powered by MessageLabs. 
> 
____________________________________________________________________________
_


____________________________________________________________________________
_
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management
Services powered by MessageLabs. 
____________________________________________________________________________
_
_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.