I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code:
$system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed
Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace
PHP\Scrapboard\ JavaExample.php on line 3
I have looked at the 'User Contributed Notes'. It seems there is a
proliferative of different way people have defined the Java
configuration options. Some have links in quotes some do not. Not sure
if I am suppose to use the eight byte Windows dir name?
I am a Java programmer. Sun's JAVA_HOME points to the base directory
name for the JDK installed. In PHP it looks like it points to the bin
subdirectory.
This is what is documented:
java.class.path The path and name of the PHP jar file (usually called
php_java.jar) as well as any other jar files or
directories where PHP will search for compiled
Java classes.
java.home The root directory of the installed JDK
java.library The location of the Java virtual machine library
java.library.pa th The location of the PHP java library (usually in the
modules/ directory)
This is what I have defined in my PHP.ini:
extension=php_j ava.dll
java.class.path = "C:\php5.2\ext\ php_java.jar"
java.home = "C:\Program Files\Java\jdk1 .5.0_07"
java.library = "C:\Program
Files\Java\jdk1 .5.0_07\jre\bin \server\jvm.lib "
java.library.pa th = "C:\php5.2\ ext"
I am running:
- Windoze XP SP 2
- PHP 5.2
- Java JDK and JRE 1.5.0_07
- Eclipse 3.2
- PHPEclipse 0.2.0
Anyone point me in the right direction.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-) 9 10117
IchBin wrote:
I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code:
$system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed
Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace
PHP\Scrapboard\ JavaExample.php on line 3
PHP can't find a class definition - the PECL extension isn't loaded. You can
confirm this using phpinfo()
This is what I have defined in my PHP.ini:
extension=php_j ava.dll
java.class.path = "C:\php5.2\ext\ php_java.jar"
java.home = "C:\Program Files\Java\jdk1 .5.0_07"
java.library = "C:\Program
Files\Java\jdk1 .5.0_07\jre\bin \server\jvm.lib "
java.library.pa th = "C:\php5.2\ ext"
Not used the Java wrapper - typically if PHP can't load an extension it
tells you (You may need to crank up the default volume on error reporting):
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/libnonesuch.so'
- /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file:
No such file or directory in Unknown on line 0
HTH
C.
Colin McKinnon wrote:
IchBin wrote:
>I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code: $system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace PHP\Scrapboard \JavaExample.ph p on line 3
PHP can't find a class definition - the PECL extension isn't loaded. You can
confirm this using phpinfo()
>This is what I have defined in my PHP.ini:
extension=php_ java.dll
java.class.pat h = "C:\php5.2\ext\ php_java.jar" java.home = "C:\Program Files\Java\jdk1 .5.0_07" java.library = "C:\Program Files\Java\jdk 1.5.0_07\jre\bi n\server\jvm.li b" java.library.p ath = "C:\php5.2\ ext"
Not used the Java wrapper - typically if PHP can't load an extension it
Not sure what you mean when you say you have not used the Java wrapper?
Is there some other way of running Java from with in PHP? This is the
only way I have found how to do it.
tells you (You may need to crank up the default volume on error reporting):
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/libnonesuch.so'
- /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file:
No such file or directory in Unknown on line 0
I have changes some of the Error recording parms and when I start Apache
or run a command line I get the following error:
C:\>php-cgi
PHP Warning: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in <b>Unknown</bon line <b>0</b><br />A
>
HTH
C.
The error does not say it can not load it but it can not initialize it.
Just wondering what the difference is and what I am missing. It has to
be a link in the PHP.ini. I'll go back over it with give it another try.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Colin McKinnon wrote:
IchBin wrote:
>I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code: $system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace PHP\Scrapboard \JavaExample.ph p on line 3
PHP can't find a class definition - the PECL extension isn't loaded. You can
confirm this using phpinfo()
>This is what I have defined in my PHP.ini:
extension=php_ java.dll
java.class.pat h = "C:\php5.2\ext\ php_java.jar" java.home = "C:\Program Files\Java\jdk1 .5.0_07" java.library = "C:\Program Files\Java\jdk 1.5.0_07\jre\bi n\server\jvm.li b" java.library.p ath = "C:\php5.2\ ext"
Not used the Java wrapper - typically if PHP can't load an extension it
tells you (You may need to crank up the default volume on error reporting):
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/libnonesuch.so'
- /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file:
No such file or directory in Unknown on line 0
HTH
C.
Not sure what you mean when you say you have not used the Java wrapper?
Is there some other way of running Java from with in PHP? I do not mean
PHP from with in Java. This is the only way I have found how to do it.
I did not see anything related to Java in the phpinfo(). I do have two
file in the .ext subdirectory:
php_java.jar
php_java.dll
I have changes some of the Error recording parms and when I start Apache
or run a command line I get the following error:
C:\>php-cgi
PHP Warning: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in <b>Unknown</bon line <b>0</b><br />A
The error does not say it can not load it but it can not initialize it.
Just wondering what the difference is and what I am missing. It has to
be a link in the PHP.ini. I'll go back over it with give it another try.
Keeping my feet in Java and new to PHP I think that this should be
top-down process to implement. The user comments in the extended PHP
manual for Java does not give me much of a secure feeling.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
IchBin wrote:
Colin McKinnon wrote:
>IchBin wrote:
>>I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code: $system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace PHP\Scrapboar d\JavaExample.p hp on line 3 PHP can't find a class definition - the PECL extension isn't loaded. You can confirm this using phpinfo()
>>This is what I have defined in my PHP.ini:
extension=php _java.dll
java.class.pa th = "C:\php5.2\ext\ php_java.jar" java.home = "C:\Program Files\Java\jdk1 .5.0_07" java.librar y = "C:\Program Files\Java\jd k1.5.0_07\jre\b in\server\jvm.l ib" java.library. path = "C:\php5.2\ ext" Not used the Java wrapper - typically if PHP can't load an extension it
Not sure what you mean when you say you have not used the Java wrapper?
Is there some other way of running Java from with in PHP? This is the
only way I have found how to do it.
>tells you (You may need to crank up the default volume on error reporting): PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/libnonesuch.so' - /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file: No such file or directory in Unknown on line 0
I have changes some of the Error recording parms and when I start Apache
or run a command line I get the following error:
C:\>php-cgi
PHP Warning: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in <b>Unknown</bon line <b>0</b><br />A
>
HTH
>
C.
The error does not say it can not load it but it can not initialize it.
Just wondering what the difference is and what I am missing. It has to
be a link in the PHP.ini. I'll go back over it with give it another try.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
It means the Java wrapper and PHP have been compiled against two
different versions of Apache API. You'll either need to find matching
versions or compile your own.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
Jerry Stuckle wrote:
IchBin wrote:
>Colin McKinnon wrote:
>>IchBin wrote:
I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code: $system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace PHP\Scrapboa rd\JavaExample. php on line 3
PHP can't find a class definition - the PECL extension isn't loaded. You can confirm this using phpinfo()
This is what I have defined in my PHP.ini:
extension=ph p_java.dll
java.class.p ath = "C:\php5.2\ext\ php_java.jar" java.home = "C:\Program Files\Java\jdk1 .5.0_07" java.libra ry = "C:\Program Files\Java\j dk1.5.0_07\jre\ bin\server\jvm. lib" java.library .path = "C:\php5.2\ ext"
Not used the Java wrapper - typically if PHP can't load an extension it
Not sure what you mean when you say you have not used the Java wrapper? Is there some other way of running Java from with in PHP? This is the only way I have found how to do it.
>>tells you (You may need to crank up the default volume on error reporting): PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/libnonesuch.so' - /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file: No such file or directory in Unknown on line 0
I have changes some of the Error recording parms and when I start Apache or run a command line I get the following error:
C:\>php-cgi PHP Warning: PHP Startup: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in Unknown on line 0 <br /> <b>Warning</b>: PHP Startup: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in <b>Unknown</bon line <b>0</b><br />A
> > HTH
C.
The error does not say it can not load it but it can not initialize it. Just wondering what the difference is and what I am missing. It has to be a link in the PHP.ini. I'll go back over it with give it another try.
Thanks in Advance... IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us ______________ _______________ _______________ _______________ _______________
'If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-)
It means the Java wrapper and PHP have been compiled against two
different versions of Apache API. You'll either need to find matching
versions or compile your own.
Disclaimer: I am new to PHP.
Well I was running on PHP 5.2.0Dev when I was testing the Java modules
before. So I when back to PHP version 5.1.4. PHP now gives me no
initialize errors. Have not tested php scripts completely.
*Now* the problems is that I can not install PEAR. I get 2 errors "CLI
has encountered a problem and needs to close. We are sorry for the
inconvenience."
I had no problem installing it on PHP 5.2.0Dev. After I installed pear I
download and installed 4 modules I want to use. I did notice that on the
dev version the pear dir structure was 'PHP\PEAR\pear' . Now on 5.1.4 the
structure is 'PHP\PEAR\PEAR' .
I clean up the system of all the prior PHP\Pear install even the
registry. I do not understand.... Is this environment so fickled that I
can go back to a stable version of PHP and I can not install an
important part as PEAR but still have it work on a Dev version of PHP.?
Very frustrating...
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
If your project isn't too far along the best experience I've had with
Java and PHP interop is with Caucho Resin. Very fast, very stable, can
create server-side code in Java, JS, PHP, with simple Java-based PHP
extension mechanisms. Really good stuff.
Cheers,
Yong
IchBin wrote:
Colin McKinnon wrote:
IchBin wrote:
I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code:
$system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed
Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace
PHP\Scrapboard\ JavaExample.php on line 3
PHP can't find a class definition - the PECL extension isn't loaded. You can
confirm this using phpinfo()
This is what I have defined in my PHP.ini:
extension=php_j ava.dll
java.class.path = "C:\php5.2\ext\ php_java.jar"
java.home = "C:\Program Files\Java\jdk1 .5.0_07"
java.library = "C:\Program
Files\Java\jdk1 .5.0_07\jre\bin \server\jvm.lib "
java.library.pa th = "C:\php5.2\ ext"
Not used the Java wrapper - typically if PHP can't load an extension it
Not sure what you mean when you say you have not used the Java wrapper?
Is there some other way of running Java from with in PHP? This is the
only way I have found how to do it.
tells you (You may need to crank up the default volume on error reporting):
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/extensions/libnonesuch.so'
- /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file:
No such file or directory in Unknown on line 0
I have changes some of the Error recording parms and when I start Apache
or run a command line I get the following error:
C:\>php-cgi
PHP Warning: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: java: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in <b>Unknown</bon line <b>0</b><br />A
>
HTH
>
C.
The error does not say it can not load it but it can not initialize it.
Just wondering what the difference is and what I am missing. It has to
be a link in the PHP.ini. I'll go back over it with give it another try.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
ybakos wrote:
If your project isn't too far along the best experience I've had with
Java and PHP interop is with Caucho Resin. Very fast, very stable, can
create server-side code in Java, JS, PHP, with simple Java-based PHP
extension mechanisms. Really good stuff.
Cheers,
Yong
IchBin wrote:
>Colin McKinnon wrote:
>>IchBin wrote:
I am trying to get Java to work from within PHP. I have been looking at: http://us2.php.net/java
The error and line of PHP code: $system = new Java('java.lang .System');
Fatal error: Class 'Java' not found in C:\Documents and Settings\Ed Taylor\My Documents\Proje cts Eclipse\workspa ces\workspace PHP\Scrapboa rd\JavaExample. php on line 3
PHP can't find a class definition - the PECL extension isn't loaded. You can confirm this using phpinfo()
This is what I have defined in my PHP.ini:
extension=ph p_java.dll
java.class.p ath = "C:\php5.2\ext\ php_java.jar" java.home = "C:\Program Files\Java\jdk1 .5.0_07" java.libra ry = "C:\Program Files\Java\j dk1.5.0_07\jre\ bin\server\jvm. lib" java.library .path = "C:\php5.2\ ext"
Not used the Java wrapper - typically if PHP can't load an extension it
Not sure what you mean when you say you have not used the Java wrapper? Is there some other way of running Java from with in PHP? This is the only way I have found how to do it.
>>tells you (You may need to crank up the default volume on error reporting): PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/libnonesuch.so' - /usr/lib/php5/extensions/libnonesuch.so: cannot open shared object file: No such file or directory in Unknown on line 0
I have changes some of the Error recording parms and when I start Apache or run a command line I get the following error:
C:\>php-cgi PHP Warning: PHP Startup: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in Unknown on line 0 <br /> <b>Warning</b>: PHP Startup: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in <b>Unknown</bon line <b>0</b><br />A
> > HTH
C.
The error does not say it can not load it but it can not initialize it. Just wondering what the difference is and what I am missing. It has to be a link in the PHP.ini. I'll go back over it with give it another try.
Thanks in Advance... IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us ______________ _______________ _______________ _______________ _______________
'If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-)
Thanks for the tip but why do a lot of people in the PHP forums top
post. It really screws up the continuity of the thread.
I am a Java programmer just wanting to learn PHP. So there is no project
involved.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
IchBin wrote:
>>
Thanks for the tip but why do a lot of people in the PHP forums top
post. It really screws up the continuity of the thread.
I am a Java programmer just wanting to learn PHP. So there is no project
involved.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Mostly because they don't know any better. Many also post from Google
Groups.
I've found a kind request not to top post when responding helps a lot.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
Jerry Stuckle wrote:
IchBin wrote:
>>> Thanks for the tip but why do a lot of people in the PHP forums top post. It really screws up the continuity of the thread.
I am a Java programmer just wanting to learn PHP. So there is no project involved.
Thanks in Advance... IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us ______________ _______________ _______________ _______________ _______________
'If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-)
Mostly because they don't know any better. Many also post from Google
Groups.
I've found a kind request not to top post when responding helps a lot.
Cool...
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
_______________ _______________ _______________ _______________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ravi Tallury |
last post by:
Hi
We are having issues with our application, certain portions of it stop
responding while the rest of the application is fine. I am attaching
the Java Core dump. If someone can let me know what the issue is.
Thanks
Ravi
|
by: ptaz |
last post by:
Hi I'm trying to run a web page but I get the following error. Ca
anyone please tell me a solution to this.
Thanks
Ptaz
HTTP Status 500 -
type Exception report
|
by: DrUg13 |
last post by:
In java, this seems so easy. You need a new object
Object test = new Object() gives me exactly what I want.
could someone please help me understand the different ways to do the
same thing in C++. I find my self sometimes, trying
Object app = Object();
Object *app = Object();
Object app = new Object();
|
by: mailkhurana |
last post by:
Hii ,
I am trying to use a type 2 driver to connect to DB2 0n AIX 5
I have a small java test to class to establish a conneciton with the db
.. I am NOT using WAS or any appserver
When I try to connect to the DB I get the following exception
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2120)
|
by: David Van D |
last post by:
Hi there,
A few weeks until I begin my journey towards a degree in Computer
Science at Canterbury University in New Zealand,
Anyway the course tutors are going to be teaching us JAVA wth bluej and
I was wondering if anyone here would be able to give me some tips for
young players such as myself, for learning the language.
Is this the best Newsgroup for support with JAVA?
| |
by: Mark Fink |
last post by:
I wrote a Jython class that inherits from a Java class and (thats the
plan) overrides one method. Everything should stay the same.
If I run this nothing happens whereas if I run the Java class it says:
usage: java fit.FitServer host port socketTicket
-v verbose
I think this is because I do not understand the jython mechanism for
inheritance (yet).
|
by: jaywak |
last post by:
Just tried running some code on Linux (2.4.21-32.0.1.EL and Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)) and Windows XPSP2 (with Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)) and in both cases, get the following list returned from calling getDeclaredFields() on java.lang.ClassLoader via this code snippet:
Field fields = loaderClass.getDeclaredFields();
for (int i = 0; i <...
|
by: jaimemartin |
last post by:
hello,
I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in Linux there is an error. The code that fails is the following:
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
I´m sure that code is ok. In fact, I´ve found that in several...
|
by: oll3i |
last post by:
package library.common;
import java.sql.ResultSet;
public interface LibraryInterface {
public ResultSet getBookByAuthor(String author);
public ResultSet getBookByName(String name);
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |