473,395 Members | 1,629 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Can I use PHP on the front end with Java on the backend?

Is it possible to use PHP on the front end and Java on the backend?
Either using EJB or not? I know it's not common (I've been searching
Google) but I'm curious if anyone has done it.

Thanks,
Michael
Jul 16 '05 #1
6 7097
Michael Akins <pl*****************@hotmail.com> wrote:
Is it possible to use PHP on the front end and Java on the backend?
Either using EJB or not? I know it's not common (I've been searching
Google) but I'm curious if anyone has done it.


PHP is a server-side scripting language. If for some reason the term "front
end" in your world refers to something on the server, have a look at:
http://uk.php.net/manual/en/ref.java.php

HTH;
JOn
Jul 16 '05 #2
> > Is it possible to use PHP on the front end and Java on the backend?
Either using EJB or not? I know it's not common (I've been searching
Google) but I'm curious if anyone has done it.


PHP is a server-side scripting language. If for some reason the term "front
end" in your world refers to something on the server, have a look at:
http://uk.php.net/manual/en/ref.java.php


Front-end means web tier. I'm not sure if PHP developers typically
divide up a system into layers like we do in Java. But what I'd like
to know is if I can have a Java API to access the business objects and
handle persistence, and then have the PHP web tier use this Java API.
On that page they talk about using Java's runtime and using Java
objects, but calling an EJB and passing objects and then receiving
objects is a lot more complicated. I have not found one person doing
this, so I believe it has never been done and may be impossible.

Thanks,
Michael
Jul 16 '05 #3
Michael Akins <pl*****************@hotmail.com> wrote:

: On that page they talk about using Java's runtime and using Java
: objects, but calling an EJB and passing objects and then receiving
: objects is a lot more complicated. I have not found one person doing
: this, so I believe it has never been done and may be impossible.

http://www.zend.com/php_and_java.php ... say they are working on
PHP/Java integration.
--
__________
|im |yler http://timtyler.org/ ti*@tt1.org
Jul 16 '05 #4
pl*****************@hotmail.com (Michael Akins) writes:
calling an EJB and passing objects and then receiving
objects is a lot more complicated. I have not found one person doing
this, so I believe it has never been done and may be impossible.


Just curious, why is it you specifically want PHP for this tier. JSTL,
Tea, velocity, webmacro, BRL, etc. aren't acceptable web-tier languages?
Jul 16 '05 #5
> > calling an EJB and passing objects and then receiving
objects is a lot more complicated. I have not found one person doing
this, so I believe it has never been done and may be impossible.


Just curious, why is it you specifically want PHP for this tier. JSTL,
Tea, velocity, webmacro, BRL, etc. aren't acceptable web-tier languages?


If it were a new project, I'd use JSP. But I'm speaking with a
potential client who has an existing PHP website and his staff have
PHP experience. The site was mostly informational, and now they'd
like to add a lot of new features including transactions and
persistent objects. They also have a few ASP websites that they'd
like to integrate with this new backend as well. ASP.NET can
communicate with an EJB backend, so I was thinking if PHP can as well
then the backend could be done in Java. It's a longshot I know but I
thought I'd ask just in case.

Thanks,
Michael
Jul 16 '05 #6
> Is it possible to use PHP on the front end and Java on the backend?
Either using EJB or not? I know it's not common (I've been searching
Google) but I'm curious if anyone has done it.


Thanks for the replies, after more research, particularly the
excellent presentation on PHP/Java integration at Java One 2003
(http://servlet.java.sun.com/javaone/.../pdfs/3749.pdf)
I've concluded it's not possible at this time but will be possible in
the near future.

Thanks,
Michael
Jul 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ian Baker | last post by:
We have been developing in MS Access/VBA for nearly 10 years now and find we need to get with the times and look at a web type of front end to a more robust/multi user back end. I would be...
8
by: Beatrice Rutger | last post by:
Hi, I am a previous Micro$oft desertee (moved from VB/VC++ to Java before this whole DOTNET thing) because I had several issues with Micro$oft. I am not completely in love with Windoze, but I...
12
by: Corey Burnett | last post by:
I have a client that has a split database (front-end/back-end). They are also using Access security - MDW file. The front end MDE file, the back end MDB file, and the MDW file are all located on...
7
by: JMCN | last post by:
Is this possible to have the 97 users with 97 front end, 2000 users with 2000 front end, 2002 users with 2002 front end, and 2003 users with 2003 front end all linked up to an access 97 backend? ...
2
by: Peter | last post by:
(I've tried this Q in the ms forums without response. See how it goes here.) Using A2003 but I guess this is not version-specific... If I want to implement row/record level locking on a split...
7
by: Chris Davoli | last post by:
I need just opionions. I'm VB.NET programmer and I work with another front end HTML guy who doesn't know .Net and how to use the .Net controls. So far he has been unwilling or unable to learn .Net...
3
by: Ian | last post by:
I have an Access 2000 database split front back end, what I want to do is have some kind of web based front end so users can logon via the internet and: 1. Enter new records, edit records in the...
14
by: Brian Nelson | last post by:
Sorry for the long post, I've tried so hard to solve this one but I'm just stuck! We've had a multiuser .mdb file on a network share for years. I know it's not ideal, but it's worked well from...
18
by: afromanam | last post by:
Whew.. OK, running access 2003 in win xpsp2 and access 2007 in win vista. This is the question... We have a db, split in front end (FE.mdb) and backend (BE.mdb) FE has tons of linked...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.