Client/server/web application
My application will be deployed as client/server application and as well as web application. An database is used to keep the persistent data.
For the client/server environment, I will need client tier, application server tier, and the database tier. For the web applicaiton, I will need web interface, web server, and the database tier.
My question is that since the application will be deployed as both client/server application and web application, how to leverage the components, so the application server and the web server has less code duplication.
Is there any guideline for designing such an architecture?
The application uses J2SE, and Tomcat is the servlet engine.
Thanks for any input /danclemson
Your business logic should be written so that it can used from anywhere. Command line, GUI, webapp, it's irrelevant. Likewise with the db layer, so those will be exactly the same. Then you just put whatever front end you want on it. Now, if you're talking about having the same server used for both at the same time, that's a different question. But it sounds like you're asking about code.
Similar Messages
-
Hyperion EPM server - web application service does not start
Hi All,
I installed and configured epm 11.1.2.2 on windows 2008 server. I was able to start all the services except "Hyperion EPM server - web application" everytim I start the service I am getting an error "some services start and stop as they are not used by any other programs and applications'.
I reconfigured the web server and deployed the application server again but still I am having the same issue.
I was not able to see planning from the navigate of workspace and I am getting errors while trying to start the web analysis.
Can anyone please let me know where I am doing wrong..
Thanks a lot!Hi John,
we deployed workspace, financial reporting, web analysis, shared services, planning web applications. we were able to access most of them except "web analysis".
we are getting an error while trying to login Web analysis "when starting web anaysis an error occured while initalizing startup options".
I have HP BL480 32 gb of RAM.
I am not getting any error while configuring but I am getting the error when trying toi start the service.
here are the log files for web analysis
[2012-07-20T15:51:20.714-04:00] [WebAnalysis0] [WARNING] [] [oracle.webanalysis] [tid: 192] [userId: <anonymous>] [ecid: 0000JY_wS67DoYdpxc4EyW1G2Qia000028,0] [SRC_CLASS: com.hyperion.analyzer.utils.general.HYAURLParamHandler] [APP: WEBANALYSIS#11.1.2.0] [SRC_METHOD: getAnalyzerBaseURL] AnalyzerBaseURL=http://ftldhyptest1.citrite.net:28080/WebAnalysis
[2012-07-20T15:51:20.718-04:00] [WebAnalysis0] [WARNING] [] [oracle.webanalysis] [tid: 192] [userId: <anonymous>] [ecid: 0000JY_wS67DoYdpxc4EyW1G2Qia000028,0] [SRC_CLASS: com.hyperion.analyzer.utils.general.HYAURLParamHandler] [APP: WEBANALYSIS#11.1.2.0] [SRC_METHOD: getAnalyzerBaseURL] AnalyzerBaseURL=http://ftldhyptest1.citrite.net:28080/WebAnalysis
Thanks a lot!
Edited by: user608296 on Jul 20, 2012 12:54 PM -
Error: Accessing the Reader Extensions Server web application for the first time
Hi,
I've followed the the installation guide line by line. Everything OK.
But when i access the Reader Extensions Server web application i see the following error:
An error has occured
Error 473: The credential permission settings could not be determined: 'com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0'.
Have you ever faced this kind of message before?
To tell you the truth i'm not very sure if my Rights Credential file is valid. But is this the cause of this message?
I use Form Server 6 and Reader Extensions 6 with a Websphere Application Server 6.0
Thanks in advanceHi Stelios,
Yes, it seems to me also, as a bad certificate issue.
If memory serves, I run into this message once, where the certificate was valid. Anyway, Websphere v6 is not a supported app server. Have you tried installing on v5.1?
You might want to read this post, too:
matt cockburn, "Fix for LiveCycle Reader Extensions 7.0 install error" #, 6 May 2005 8:22 am
If you are located in Greece, we may be able to help you. You may contact me "ekokkoris at anodos.gr", should you wish.
Regards,
Evangelos -
Best practice for client-server(Socket) application
I want to build a client-server application
1) On startup.. client creates connection to Server and keeps reading data from server
2) Server keeps on sending different messages
3) Based on messages(Async) from server client view has to be changed
I tried different cases ended up facing IllegalStateChangeException while updating GUI
So what is the best way to do this?
Please give a working example .
Thanks,
Vijay
Edited by: 844427 on Jan 12, 2012 12:15 AM
Edited by: 844427 on Jan 12, 2012 12:16 AMHi EJP,
Thanks for the suggestion ,
Here is sample code :
public class Lobby implements LobbyModelsChangeListener{
Stage stage;
ListView<String> listView;
ObservableList ol;
public Lobby(Stage primaryStage) {
stage = primaryStage;
ProxyServer.startReadFromServer();//Connects to Socket Server
ProxyServer.addLobbyModelChangeListener(this);//So that any data from server is fetched to Lobby
init();
private void init() {
ProxyServer.getLobbyList();//Send
ol = FXCollections.observableArrayList(
"Loading Data..."
ol.addListener(new ListChangeListener(){
@Override
public void onChanged(Change change) {
listView.setItems(ol);
Group root = new Group();
stage.setScene(new Scene(root));
listView = new ListView<String>();
listView.maxWidth(stage.getWidth());
listView.setItems(ol);
listView.getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
istView.setOnMouseClicked(new EventHandler<MouseEvent>(){
@Override
public void handle(MouseEvent t) {
// ListView lv = (ListView) t.getSource();
new NewPage(stage);
root.getChildren().add(listView);
@Override
public void updateLobby(LobbyListModel[] changes) {
// listView.getItems().clear();
String[] ar = new String[changes.length];
for(int i=0;i<changes.length;i++)
if(changes!=null)
System.out.println(changes[i].getName());
ar[i] = changes[i].getName();
ol.addAll(ar);
ProxyServer.javaProxyServer
//Implements runnable
public void run()
......//code to read data from server
//make array of LobbyListModel[] ltm based on data from server
fireLobbyModelChangeEvent(ltm);
void addLobbyModelChangeListener(LobbyModelsChangeListener aThis) {
this.lobbyModelsChangeListener = aThis;
private void fireLobbyModelChangeEvent(LobbyListModel[] changes) {
LobbyModelsChangeListener listner
= (LobbyModelsChangeListener) lobbyModelsChangeListener;
listner.updateLobby(changes);
Exception :
java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-5
at line ol.addAll(ar);
But ListView is getting updated with new data...so not sure if its right way to proceed...
Thanks,
Vijay -
Client-server database application...
Hi there!
I'm about to write a database-application and I wonder if the following approach is to prefer or not:
I want to use a MySQL-database and there shall be about eight client-applications which all shall be able to use it. I think of solving the above with RMI (I want to create/deploy a server wich will contain all the different SQL-queries on the same site as where I install the MySQL-database ). From the clients I just, with RMI, invoce the methods on the server which contains the different queries I want to use. In other words all the database-functionality is located on the server somewhat like stored procedures. To make it work each client must be assigned a thread of its own on the server...is this right?
The advantages of the above which I can think of is: I just need to stuff one J/Connector driver in the JRE (on the server). Another is that I can use the nameservice of RMI... are there others?
Is the above a good / usual or even bad approach?
Is it more usual or even better to just provide the database-functionality (SQL-queries) in the clients and provide every client with the J/Connector driver?
Thanks in advance!You noted that there will be "eight client-applications" - does that refer to eight users or eight programs using the database? This is important in determining your course of action.
If you're talking about a small number of concurrent users (you have to define small), then you'll probably better off trying to do all the data/business logic in the app. If you're talking about a large number of concurrent users (again, your definition), your client/server paradigm might be better.
To complicate things, unless you're doing this as a learning-on-your-own project (e.g. not getting paid for it), this is where you might want to evaluate using J2EE technoligies for your server-side implementation. Writing your own server is not a trivial task (been there, done that - pre-J2EE, of course): there's a lot of things you have to figure out how to handle. Well, that's true of even using J2EE, but there's some portion of what your server would need to do already taken care of in an application server. -
Authentication in Client/Server form Application
Hi
My client/server application is not using oracle authentiacation, I have maintained user table from that user is authenticated, but any user logins in a application it uses same oracle username/PWD which I currently hardcoded in a forms 6i (C/S type on logon event) application.
My client is located in different geographicaly location, when I change oracle database password I need to compile client application and diployed it again.
Is there any way that I can avoid this. I don't want to give database Un/Pwd to any client user. He only have application username and password.
Thanks
SudarshanHello,
While installing developer you can select components to
Install, Options listed are Forms runtime and Reports runtime.
and it will make your work done.
Adi -
Client server http application
I must realize a client server application which comunicate using http protocol. The client asks for the hour and the server answer to it. It's necessary for testing our network. Which classes I must use? HttpURLConnection is suitable for this tipe of application?
Thank you...you can probably use HttpConnection or HttpURLConnection.
i'm not too sure though.
if you run into security problems then you will probably have to use a servlet.
hope this helps
Andy -
A client-server authentication application
Hello group,
I want to develop an application which after a client gives
username and password , the server will check about it if the
client is registered or not. I have already developed an
application which is stand alone and checks user validity using my
mysql database, but no server is yet there.I have done a lot search
in finding some tutorial about how to develop a client-server
applicaion in flash.......but i didn' get anything.
Pls. help me regarding this.
Nehal Sheth.Ohh... so I'm not the only one with the same problem!! I'm also trying to do JMS + Wireless applications. I bet you've checked this: http://www.softwired-inc.com/people/maffeis/why_wjms.html . Have u? anyway, I'm trying to develop a small application in which you can subscribe and get notifications in your mobile whenever something related to your profile changes. Of course, using JMS, don't know where yet :-). Did you find out anything? i'd really appreciate if you can help me... where to start from...
thanks
andres -
Problem in web application deployment in weblogic 8.1
hiiiiiiiii freinds!
i am a newcomer in the field of servlets and JSPs.Me and my freinds are developing a client/server chat application but i am facing a problem in transferring the control from one JSP to another JSP.I am using Oracle 10g and weblogic 8.1upon clicking the submit button at login.jsp i am seeing following message at web browser.
/loginhandler.jsp(4): class 'com.mycompany.login.Login' could not be loaded
probably occurred due to an error in /loginhandler.jsp line 4:
<jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" />
codes for JSPs and bean class aregiven below-
login.jsp
1. <html>
2. <head><title></title>
3. <script language="javascript">
4. function Validate(){
5. var name=document.frm.userName
6. var password=document.frm.passWord
7.
8. if ((name.value==null)||(password.value=="")){
9. alert("Please Enter user name")
10. user.focus()
11. return false
12. }
13. if ((name.value==null)||(password.value=="")){
14. alert("Please Enter password")
15. pass.focus()
16. return false
17. }
18. return true
19. }
20. </script>
21. </head>
22. <body>
23. <form method="post" action="loginhandler.jsp">
24. username - <input type="text" name="userName"><br>
25. password - <input type="password" name="passWord"><br>
26. <input type="submit" value="Submit">
27. <input type="reset" value="Reset">
28. </form>
29. <jsp:include page="showformat.jsp"/>
30. </body>
31. </html> loginhandler.jsp
1. <%@page contentType="text/html"%>
2. <%@page pageEncoding="UTF-8"%>
3. <%@page import="java.util.*" %>
4. <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" />
5. <jsp:setProperty name="idHandler" property="*" />
6. </jsp:useBean>
7. <html>
8. <head><title></title></head>
9. <body>
10. <%
11. String userName = request.getParameter("userName");
12. String passWord = request.getParameter("passWord");
13. if (idHandler.authenticate(userName, passWord)){
14. response.sendRedirect("welcome.jsp");
15. } else {
16. response.sendRedirect("loginfailed.html");
17. }
18. %>
19. </body>
20. </html> welcome.jsp
1. <html>
2. <head><title>welcome!!!!!!</title></head>
3. <body>
4. <%
5. String name=(String)request.getAttribute("userName");
6. out.println("Welcome" +name);
7. %>
8. </body>
9. </html> login.java
1. package com.mycompany.login;
2. import java.sql.*;
3. import java.io.*;
4.
5. public class Login
6. {
7. //default constructor
8. public Login(){}
9. //method for the database connection
10. public Connection getConnection()
11. throws IOException{
12. Connection conn = null;
13. try{
14. Class.forName("oracle.jdbc.driver.OracleDriver");
15. conn = DriverManager.getConnection(
16. "jdbc:oracle:thin:@localhost:1521:xe",
17. "system",
18. "abcdefgh");
19. }
20. catch(SQLException e)
21. {
22. System.out.println("SQLException: " + e.getMessage());
23. while((e = e.getNextException()) != null)
24. System.out.println(e.getMessage());
25. }
26. catch(ClassNotFoundException e)
27. {
28. System.out.println("ClassNotFoundException: " + e.getMessage());
29. }
30. return conn;
31. }
32. //method that is called from validateuser.jsp and this checks for the authentic user and
33. public boolean authenticate(String user, String pass)
34. throws SQLException, IOException{
35. String Username = null, Password = null;
36. Login dbconn = new Login();
37. Statement stmt = dbconn.getConnection().createStatement();
38. String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'";
39. ResultSet rs = stmt.executeQuery(sql);
40. if(rs.next()){
41. Username = rs.getString("USER_NAME");
42. Password = rs.getString("PASS_WORD");
43. }
44. if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){
45. return true;
46. }
47. else return false;
48. }
49. } it is requested that please don't neglect or ignore any programming error in pages as i am a newcomer in the field of web development.also suggest some good content and study material for developing interactive and user freindly chat client/server web application.reply as soon as possible!ya i have done it and i have put it under the sub directories of classes directory and also included the import also i have modified the codes but problem is same.
login.jsp
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*, java.text.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title>
<script language="javascript">
function Validate(){
var name=document.frm.userName
var password=document.frm.passWord
if ((name.value==null)||(password.value=="")){
alert("Please Enter user name")
user.focus()
return false
if ((name.value==null)||(password.value=="")){
alert("Please Enter password")
pass.focus()
return false
return true
</script>
</head>
<body>
<form method="post" action="loginhandler.jsp">
username - <input type="text" name="userName"><br>
password - <input type="password" name="passWord"><br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
<br><br><br><br><br><br><br>  
</form>
<jsp:include page="showformat.jsp"/>
</body>
</html>loginhandler.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><%@page contentType="text/html"%>
<%@ page pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.mycompany.login" %>
<jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="session">
<jsp:setProperty name="idHandler" property="userName" />
<jsp:setProperty name="idHandler" property="passWord" />
</jsp:useBean>
<html>
<head><title></title></head>
<%
String userName = request.getParameter("userName");
String passWord = request.getParameter("passWord");
if(userName == null)
userName = "";
if(passWord == null)
passWord = "";
if(!userName.equals("") && !password.equals("")){
session.setAttribute("User", userName);
session.setAttribute("Password", passWord);
if (idHandler.authenticate(userName, passWord)){
response.sendRedirect("welcome.jsp");
} else {
response.sendRedirect("loginfailed.html");
%>
<body></body>
</html>welcome.jsp
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*, java.io.*, java.util.*, java.text.*" errorPage="" %>
<%@ page import="com.mycompany.login" %>
<jsp:getProperty name="idHandler" property="*">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>welcome!!!!!!</title></head>
<body>
<%
String name=(String)session.getAttribute("User");
out.println("Welcome" +name);
%>
</body>
</html>
(code)
login.javapackage com.mycompany.login;
import java.sql.*;
import java.io.*;
public class Login {
String Username = null, Password = null;
//default constructor
public Login(){}
//method for the database connection
public Connection getConnection()
throws IOException{
Connection conn = null;
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(
"jdbc:oracle:thin:@localhost:1521:xe",
"system",
"abcdefgh");
catch(SQLException e)
System.out.println("SQLException: " + e.getMessage());
while((e = e.getNextException()) != null)
System.out.println(e.getMessage());
catch(ClassNotFoundException e)
System.out.println("ClassNotFoundException: " + e.getMessage());
return conn;
//method that is called from loginhandler.jsp and this checks for the authentic user and
public boolean authenticate(String user, String pass)
throws SQLException, IOException{
Login dbconn = new Login();
Statement stmt = dbconn.getConnection().createStatement();
String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'";
ResultSet rs = stmt.executeQuery(sql);
if(rs.next()){
Username = rs.getString("USER_NAME");
Password = rs.getString("PASS_WORD");
if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){
return true;
else return false;
public void setUsername(String name)
Username=name;
public String getUsername()
return Username;
public void setPassword(String password)
Password=password;
public String getPassword()
return Password; -
Client/Server to Web-Based application Conversion
Hi! Everyone,
I have couple of questions for you guys.
Our Client had recently upgraded Forms 4.5 to 6i to move from Client/Server based application to Web based application.
They are using Forms Server 6i Patch Set 1, OAS 4.0.8.1, Windows NT Service Pack 5 and Oracle 7.3. They are facing the following error every now and then, when they run the forms,
"FRM-92100: Your connection to the server was interrupted. This may be the result of a network error or a failure on the server.You will need to re-establish your session."
Please let me know what might be causing the above error. The only problem i can think about might be Oracle 7.3. If i am right only Oracle 8 and above supports Forms 6i.
Can anyone let me know some tips and/or techniques to upgrade Forms 4.5 to 6i. If there are any important settings/steps which we might have over looked during the upgrade, please list them.
Any kind of help is greatly appreciated.
Thanks,
Jeevan Kallem
[email protected]Most of the code is use with no changes at all.
See otn.oracle.com/formsupgrade
Regards
Grant Ronald -
Need help in desigining Client/Server Application using Java
Hi,
I am new to Java and no sooner that I started studing it I have been given a project - client server java Application that allows a user to do a property search based on critiras (eg location, price) and display the results. I am stuck because I don't know where I need to start. Have to use IDE (Netbeans or Eclipse) but not sure about dev frameworks.
Can someone give me an outline of what I should do / where I should start? What will be the best solution?
Thanks in adancehttp://java.sun.com/docs/books/tutorial/networking/index.html
That's Sun's networking tutorial series. Live it, learn it, love it. You'll need to decide if you want to use connected sockets or datagrams. You'll need details like, can multiple clients connect simultaneously?
The tutorials are the first step though. -
JavaFX as a SaaS/ How good is it for Client-Server work?
I was under the impression that FX could be used to produce a Client-Server application as well as SaaS.
a member of another forum said "I'm sure you meant to say "Desktop". JavaFX will not be making inroads on the web as a client-side technology."
To which I said
There have been examples of FX used with EE
http://www.oracle.com/technetwork/java/javafx/samples/index.html
http://docs.oracle.com/javafx/2/overview/jfxpub-overview.htm
Sales Dashboard (DataApp)
DataApp is a client-server application for a fictional global automobile company called Henley Car Sales. Automobile sales are simulated on an EJB server using JavaDB, and the data is available via Derby and a RESTful web service. The client demonstrates a variety of data presentations by using a mix of FXML and JavaFX.
I thought originally that JavaFX was "Desktop" only also, until I found this example. I couldn't get it to run due to some weird Database line read issue that others also had. I'm not sure if this is now due to FX's integration, or if this was something new, but I believe I have seen another FX client-server app as well.
I'm not that familiar with the client-server side of Java yet, so if you have other Information I would like to know, because I am looking to design a Client-Server app with FX, and I don't see why it would be an issue, unless there are huge limitations."
He ended up saying "Those are still desktop apps. Sure, they are client-server in that they connect to a remote database. But they are still traditional fat-client apps rather than web-based thin-client SAAS web applications which, these days, most people will think of when you say "client".
My point is to be more precise when you use the word "client".
But if your point is just that JavaFX is taking over from Swing for the limited areas in which Swing is used, I have no insight into that area."
Now I don't really like attitudes when I get my question answered, but the high and mighty needs to stop. It clearly says Client-Server so I don't know why it's being denounced by this dude who thinks he obviously knows better.
Anyways he talks about it only being able to connect to a DB, to which it says it uses EE tech such as EBJ, Restful, and Derby, so that's more than just DB right(I don't know since I havent' learned that yet)?
It seems as if he's saying that only EE code can go up on a server? Or can SE code go up there as well?
I'm looking to design a SaaS software with FX, so if this isnt' possible I would like to know possible other options(or just having all of the gui work on the client, and the rest on the backend)???
Thanks!
~KZ
Edited by: KonradZuse on Apr 30, 2013 11:26 AMThis response is not a tutorial, I hope it gives you some verbiage to use in further searches.
SaaS to me means that the service is running on the server. If you have the server and permission to run java apps there then you can use Java FX by having the server shuttle requests to the Java FX app. But this is probably not the intent of Saas (it would be more appropriate to use a java implemented web service).
If you are using Netbeans then it is very easy to create demo projects; use "File/New Project" to run them on your local computer.
Example File/New Project/Java Web/Web Application will give you a hello world web site very quickly. This will 1) start either tomcat or glassfish as the server. 2) launch an html page with "hello world". then you can use java script to talk with the server via ajax. Using this approach you are going to need to study JSP or J2EE stuff.
After this is running you could start one of the Java Fx examples in Netbeans: File / New Project / Samples / WebViewBrowser. This will start a javaFX app that acts like a browser and runs on the client.
So, start the "hello world" app in netbeans by right clicking it in the project pain and selecting "debug". Then start the webviewBrowser app the same way to load that web page that has "hello world" in it as all browsers do. In the WebviewBrowser (which is java fx) you can get at the javascript in the web page and do all kinds of stuff. You'll need to search for webviewBrowser examples.
The above all assumes a Netbeans solution. But, as you probably know, there are no rules. The server can be in C++ and the client in C (or any other language). The server and client usally communicate via http or tcp. So you could have a server written in java (maybe J2ee or you can rewrite a http server from scratch which isn't that hard - search for "HttpServletRequest and HttpSession" ) and the client can be in Java FX (where the Java FX talks directly with the server via http (no javascript or web page in the middle) again there are probably hundreds of libraries to talk to a http server).
I use HttpServletRequest and HttpSession on the server side with MySQL and xml. On the client I use javaScript but I am moving to a strictly Java FX solution. This will give me close to 100% java on both sides and for my purposes this will work. (I may need a little html in the middle for drag and drop installation.) I am hoping that work continues with porting Java FX to most devices: Android, IOS, WinPhone. It is already on Linux, Windows Desktops and Mac.
Edited by: KevinPas on May 1, 2013 9:50 AM
Edited by: KevinPas on May 1, 2013 9:56 AM -
Difference between Client and Web
hello
i am newbie to EJB, I have started the online tutorials, on this tutorial nothing has mentioned about the difference between application client and Web application.
I am sort of confused why do we have to have both of them?
I know that web application should run from a web browser, but what happens if i ignore the application client?
I am trying to make a simple application to use ejb which connects to a databse and a web application to show the results. Can i just develope ejb and a set of jsp to interact as web application?
could someone help me please
cheersThe difference is simple:
A web client is a so called 'thin client' just displaying the information created and processed somewhere else.
A standalone client is a fat client which uses the ejb only to retrieve data and manages the user interaction by himself.
So a web application is basicly a fat client wich uses a web browser as a display (web browser is a display) thats why you have to implement a set of jsp and servlets which present the data to the user.
I you want e.g. a java program to interact with your beans to get data from the database you will have to code an application client. But it doesn seem like this, so your idea is right. Have fun implementing... -
How to run a swing based client server application in web?
hi ,
wat hav 2 do to run a swing based client server application in web?Swing applications run on the client only. You have two basic options:
1) turn the app into an applet so it can run inside the browser (but still on the client)
2) use webstart to allow the swing application to automatically install on the client from your server. -
Web application in linux server and windows clients
Hi,java expert and experienced developer, i need your advise and experience sharing.
I have project, which the server is RedHat Linux and clients be Windows. The application is a web application. The database used is MySQL. My question are:
1) Should i use JDK from blackdown or sun?
2) If i install blackdown JRE in Server(Linux), then is it ok that the clients(Windows) installs the Sun JRE?
3) Is there any issues Jakarta Struts in Linux?
Thanks in advance.If your application is different, and does a lot of updating, , you
may want to look elsewhere.Yes, that why i say performance issue....
Ok, MySQL however will enable stored procedure in version 5.0, but when the release will be available?
PostgreSQL may be another option look to. Any opinion in term of:
-performance
-reliability
-usage experience
thanks in advance
Maybe you are looking for
-
I am new to forms 9i. I want to display icons in my menu toolbar. Please send me the solution to display icons. Thanks for ur help.
-
Cannot view inbox or email accounts hidden on top of list on iPad
I can't find a way to fix the settings in mail to allow the list of accounts to scroll down so I can open the inbox. Has this happened to anyone. I can see them 'greyed' out if I hold the scroll withnleft hand and attemptnto touch inbox with right ha
-
Script that will warn users after 9 minutes of idle
If i have a group policy to lock screen set for 10 minutes. what would be the best way to have a pop up or notification that will appear when the workstation is about to lock in 20 seconds in order to help the users? From what i can tell i can not im
-
Do I upload the following update of 9/29/14 for OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8.5, OS X Mavericks v10.9.5 as I ALREADY AM USING 10.9.5 which indicates Sept 18 update - should I seek it out and load it? It DID NOT
-
New Apple TV and Netflix streaming
Hi, I have an "legacy" Apple TV running with iTunes 8.x and am interested in getting the new Apple TV to give me Netflix streaming access. (So I would have 2 Apple TVs running in my media room). So, question is -- do I need to upgrade iTunes to v10 t