Click here to Skip to main content
15,908,842 members
Home / Discussions / Java
   

Java

 
AnswerRe: calling servlet in background from jsp Pin
Member 324727611-Oct-10 21:45
Member 324727611-Oct-10 21:45 
QuestionCanvas inside applet Pin
ekba899-Oct-10 16:14
ekba899-Oct-10 16:14 
AnswerRe: Canvas inside applet Pin
Richard MacCutchan9-Oct-10 21:54
mveRichard MacCutchan9-Oct-10 21:54 
GeneralRe: Canvas inside applet Pin
ekba8910-Oct-10 5:32
ekba8910-Oct-10 5:32 
GeneralRe: Canvas inside applet Pin
Richard MacCutchan10-Oct-10 8:49
mveRichard MacCutchan10-Oct-10 8:49 
GeneralRe: Canvas inside applet Pin
ekba8910-Oct-10 12:08
ekba8910-Oct-10 12:08 
QuestionNeed guidelines on creating LAN enabled J2SE Application With DB (apps as ERP) ? Pin
Alok Sharma ji9-Oct-10 2:35
Alok Sharma ji9-Oct-10 2:35 
AnswerRe: Need guidelines on creating LAN enabled J2SE Application With DB (apps as ERP) ? Pin
Nagy Vilmos9-Oct-10 21:34
professionalNagy Vilmos9-Oct-10 21:34 
Alok sharma ji wrote:
1. Do we have to go JSP/EJB for LAN applications or i can make them in core Java too.


No. They provide a framework, you can go lower and use RMI to call the server and build the server using normal classes. Or you could go lower still and open TCP sockets and send your data back and forth that way.


Alok sharma ji wrote:
2.if,its possible to create application like that in core java ,what kind of classes/packages i need for them(other then java.net) and 3rd party api's for simple working?


Yes. Easy as falling out of a tree. Write the classes you want and bang. I would suggest developing a first cut as a single process, with the business funtionality protected by a facade that only returns basic types. Then you can put the comms in the middle.



Alok sharma ji wrote:
3. how can such application be going to interact with each other or do i need threads (thread executions) to make it understand about every process going between diiferent client and one server?


I would suggest that you would want to handle each client on a seperate thread, otherwise you'll soon hit performance problems. Concurrency isn't magic, it is relativly easy to do.


Alok sharma ji wrote:
4. Is it not possible to achieve such facility with DB connection call with diff server ip/port instead of making the app to listen for its server and then work ?


I think the question here is about the backend data tier. You should use a JDBC defined connection then the DB can be configured at deployment. I would not expose the DB to the client.


Panic, Chaos, Destruction.
My work here is done.


or "Drink. Get drunk. Fall over." - P O'H

GeneralRe: Need guidelines on creating LAN enabled J2SE Application With DB (apps as ERP) ? Pin
Alok Sharma ji10-Oct-10 3:11
Alok Sharma ji10-Oct-10 3:11 
QuestionAndroid Pin
programmervb.netc++8-Oct-10 7:15
programmervb.netc++8-Oct-10 7:15 
AnswerRe: Android Pin
DaveAuld8-Oct-10 8:52
professionalDaveAuld8-Oct-10 8:52 
QuestionOracle Driver problem Pin
itsh117-Oct-10 18:36
itsh117-Oct-10 18:36 
AnswerRe: Oracle Driver problem Pin
Richard MacCutchan7-Oct-10 22:30
mveRichard MacCutchan7-Oct-10 22:30 
AnswerRe: Oracle Driver problem Pin
David Skelly8-Oct-10 1:45
David Skelly8-Oct-10 1:45 
Questionhelp in j2me Pin
allaa2507-Oct-10 5:10
allaa2507-Oct-10 5:10 
AnswerRe: help in j2me Pin
Gerben Jongerius7-Oct-10 7:13
Gerben Jongerius7-Oct-10 7:13 
QuestionSimple Java Problem Pin
andyjin77776-Oct-10 17:55
andyjin77776-Oct-10 17:55 
AnswerRe: Simple Java Problem Pin
Cedric Moonen6-Oct-10 20:33
Cedric Moonen6-Oct-10 20:33 
AnswerRe: Simple Java Problem [modified] Pin
SinghUlarity...8-Oct-10 5:54
SinghUlarity...8-Oct-10 5:54 
GeneralRe: Simple Java Problem Pin
SinghUlarity...8-Oct-10 6:00
SinghUlarity...8-Oct-10 6:00 
QuestionMessage Removed Pin
5-Oct-10 8:32
vivek8865-Oct-10 8:32 
AnswerRe: JAVA program to check please answer Pin
Dr.Walt Fair, PE5-Oct-10 11:19
professionalDr.Walt Fair, PE5-Oct-10 11:19 
GeneralRe: JAVA program to check please answer Pin
vivek8865-Oct-10 23:02
vivek8865-Oct-10 23:02 
AnswerRe: JAVA program to check please answer Pin
Richard MacCutchan5-Oct-10 11:35
mveRichard MacCutchan5-Oct-10 11:35 
GeneralRe: JAVA program to check please answer Pin
vivek8865-Oct-10 23:02
vivek8865-Oct-10 23:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.