473,663 Members | 2,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java "server-side" (servlet/J2EE) alternatives to applets

I would like some advice on what Java server-side alternatives their are to
an applet which is a shopping cart application which allows the user to
drag-and-drop individual items into "an order" panel within the applet
environment on the browser client.

I am eager to port this application, as the rest of the site uses JSP,
servlets, XML, struts..... I do not have much experience of Swing, but
would like to know if there is a way of "equivuilen t dragging and dropping"
applet functionality but using server-side components. I realise that HTTP
is not a stateful protocol.

"OR".....

Am I limited to using tick-boxes and using browser "submit" to act as a
trigger for moving the items to the order. I would rather not use
Javascript, or framesets because of browser inconsistencies .

I realise this is a rather general topic, but any suggestions, or online
examples would really be appreciated.

Many thanks.

Miles Davenport.
Jul 17 '05 #1
1 2200

"Miles Davenport" <milesd@ chocksaway. com> wrote in message
news:c3******** ***********@new s.demon.co.uk.. .
I would like some advice on what Java server-side alternatives their are to an applet which is a shopping cart application which allows the user to
drag-and-drop individual items into "an order" panel within the applet
environment on the browser client.

I am eager to port this application, as the rest of the site uses JSP,
servlets, XML, struts..... I do not have much experience of Swing, but
would like to know if there is a way of "equivuilen t dragging and dropping" applet functionality but using server-side components. I realise that HTTP is not a stateful protocol.

"OR".....

Am I limited to using tick-boxes and using browser "submit" to act as a
trigger for moving the items to the order. I would rather not use
Javascript, or framesets because of browser inconsistencies .

I realise this is a rather general topic, but any suggestions, or online
examples would really be appreciated.

Many thanks.

Miles Davenport.


HTTP and its being statefull has little to do with this. HTML userinterfaces
usually are statefull which is implemented through HTTP sessions. The
problem here is the d&d thing. IMHO d&d is in most cases not needed and
often impractical. If you want to be able to add product to a shopping cart
a button, popup-menu or even a double-click is probably a lot easier to use
and these would be easy to implement in a HTML ui.
Doing d&d is possible but it very tedious, especially if you need multiple
browser support.

Regards,

Silvio Bierman
Jul 17 '05 #2

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

Similar topics

0
1647
by: Yi | last post by:
Hi, I am a scientist and new to .NET programming. On my PC, I am using Windows 2000 professional with IIS, SQL Server 2000 (standard, personal), Visual Basic .net (2003, standard). By following the demo code, I can generate the web form to access the Northwind data in SQL server. When I tried to use Server Explorer to add new Data Connection to Northwind, the “test connection” always work, but click OK always give an error message:...
1
2883
by: bonnie.tangyn | last post by:
Hello all I get Too few parameters expected 2 error and "The MS Jet Database engine cannot find the input table or query "myTempTablename". Make sure it exists and that its name is spelled correctly. 3078" after I migrated "MS Access 2000" to "MS SQL Server 2000" and relinked all linked tables. The front-end interface of my application is MS Access 2000. The back-end is MS SQL Server 2000. After I migrated the database and
0
1696
by: Oliver | last post by:
> I am seeing an 'Access Denied' exception when using a "Server" "Serviced Component" >> ..are...registered in the GAC ? yes. >> ..are...the parameters serializable? um - parameters? - the method parameters? - yes think so - there's only one and it's a 'string' here's an example class that illustrates the problem:
0
1270
by: Jim Moon | last post by:
Hello. We have SQL Server Stored Procedures that use the "CURRENT_USER" variable. We have SQL Server database fields that call "user_name()" as a default. That has been fine in the use and storage of user names, in the context of being called from IIS 5 and 6, from ASP 3.0 using ADODB. I'll add that the web applications are using Basic Authentication. So, individual user account names are garnered and stored. That is valuable to us.
2
3046
by: Jim Moon | last post by:
Hello. We have SQL Server Stored Procedures that use the "CURRENT_USER" variable. We have SQL Server database fields that call "user_name()" as a default. That has been fine in the use and storage of user names, in the context of being called from IIS 5 and 6, from ASP 3.0 using ADODB. I'll add that the web applications are using Basic Authentication. So, individual user account names are garnered and stored. That is valuable to us.
1
2539
by: SibAndela | last post by:
Is there a way that I can attach the uploaded file from a client web site to the web server without first storing the uploaded file on the server? Currently on my local PC (local host) the following code works but not when I run the app from a web server it fails: private void StoreFile(HttpPostedFile uploadedFile) { FileInfo uploadedFileInfo = new FileInfo(uploadedFile.FileName); ...... uploadedFileInfo.CopyTo(fileName, true); //...
3
3489
by: Jim in Arizona | last post by:
Most of the asp.net learning I've done has been from books that were written during the 1.0 framework. I didn't have a copy of visual studio when I started reading them then I got a hold of VS 2005 Beta 1, then Beta 2. I was using the <div runat="server"> statement on my projects. Once I placed a <div id="testdiv" runat="server"> within my aspx page, I could then manipulate it in the code behind like so: testdiv.visible = true...
2
2731
by: Ed Mittelstedt | last post by:
Hello, I've been wrestling with this problem for almost 4 months now. I am trying to run two instances of the same java server app on 1 linux box. Basically they are listening on seperate ports. The problem is that one of the apps continiously just"disappears" with no sysout or syserr message to find out what happened.
0
5440
by: martin leer | last post by:
Hi all. I got the following error: OLE DB provider "MSDAORA" for linked server "infonet" returned message "Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.".
3
1696
by: raghulvarma | last post by:
if I type the code as <input type="text" name="txtbox" > and make the script language as function empty() { if(document.Form1.txtbox.value=="") { alert("should not be blank"); return false; }
0
8436
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8345
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,...
0
8771
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 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...
0
8634
tracyyun
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...
1
6186
isladogs
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...
0
4182
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...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.