Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Same program with jsp and without it.

Reply
Thread Tools

Same program with jsp and without it.

 
 
Mr. x
Guest
Posts: n/a
 
      10-07-2003
Hello,

I need a good solution that I can make my program that behaves in two
manners :
1) Do manipulation on a btrieve database, without any jsp server, (like
web-logic)
2) Do manipulation on a btrieve database, with a jsp server, (like
web-logic).

The first manner is for intranet use.
The second manner is for internet use.

Can the first manner be for environment, that use lan network ?

Can I use some tricky way, so the first manner won't be much different than
the second one ?

Thanks


 
Reply With Quote
 
 
 
 
Wendy S
Guest
Posts: n/a
 
      10-07-2003
"Mr. x" <(E-Mail Removed)> wrote:

> Can I use some tricky way, so the first manner won't be much different

than
> the second one ?


Why even _have_ a second way? The internal users can use a web browser the
same as the external users.

--
Wendy in Chandler, AZ


 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      10-07-2003
Mr. x wrote:
> I need a good solution that I can make my program that behaves in two
> manners :
> 1) Do manipulation on a btrieve database, without any jsp server, (like
> web-logic)
> 2) Do manipulation on a btrieve database, with a jsp server, (like
> web-logic).
>
> The first manner is for intranet use.
> The second manner is for internet use.
>
> Can the first manner be for environment, that use lan network ?
>
> Can I use some tricky way, so the first manner won't be much different than
> the second one ?


Well, there's not going to be a way to make JSP and thick client UI code
look similar. However, you can at least insulate the UI code from the
remainder of the application, by providing some kind of remote access
layer to it, such as EJB session beans, a direct RMI interface, CORBA,
etc. Then your thick client and JSP/servlet code would be separately
maintained, but each would use that common interface.

Alternatively, if your goal is not really JSP but rather "something
through the web", then there are other means of accomplishing this.
However, before you make the two interfaces too awfully similar, keep
Wendy's question in mind: if the non-web version doesn't do anything
differently from what the web version does, why not just have everyone
use the web version? The advantage of a non-web-based UI is that you
can provide more interactivity and better ways to manipulate the data
without the limited control set and constant round-trips... but if
you're not going to do that, then it's a waste of time.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
JSP - Multiple Users with Same Login - Without Session getting mix up joshpaddy Software 0 09-29-2011 11:59 AM
JSP and Javascripts on same page (Passing values to JSP fromJavascript) Husain Javascript 3 04-14-2008 10:36 AM
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Javascript 4 06-03-2006 02:00 PM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Java 0 06-02-2006 06:35 AM



Advertisments