What is the best way to deploy application that uses web services?
Hi all,
I'm having some problems figuring out the best way to deploy our app now that we've switched over to using web services.
I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like.
Here's a little background:
We have a large PowerBuilder/Oracle application. The db consists of over 500 tables and the client consists of several thousand PB components. A user creates "transactions" which contain a series of "sub-transactions" within. Most of the data is collected and stored locally in the client in a series of datastores. When the "finalize" happens, the records are validated and sent to the database.
We are in the process of moving each of the subtransactions (currently in the PB client) into subPROCESSES on a java project. We are using the JAX-WS framework to develop the web services in Netbeans. These web services aren't much more than remote xml as the messaging technology. For writing data back to the database, we are using the Java Persistence API to function outside of an EJB container but will shortly be migrating to the Glassfish application server to use several of the EJB container frameworks including the EntityManager.
We haven't attempted any type of deployment and are unsure of where to start. Any suggestions would be so helpful and appreciated!
Thanks!
Edited by: doubleEspresso on Jan 10, 2008 8:06 AM
>
I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like. >Correct, while Java Web Start has 'web' in the name, it has little if anything to do with web applications - certainly not providing much toward their installation. It is for launching rich client GUI based (AWT, Swing, SWT..) applications onto the end-user's desktop.
There are some parts of JWS that might seem peripherally useful to the installation of a web-app., but it is really not a 'good fit'.
>
..Any suggestions would be so helpful and appreciated!>You might try the forums for the 'web tier' APIs.
<http://forum.java.sun.com/category.jspa?categoryID=20>
Or perhaps the forum 'Java Technologies for Web Services' (under 'enterprise technologies')
<http://forum.java.sun.com/forum.jspa?forumID=331>
This one in 'BigAdmin' seems particularly relevant, 'Set up and Deploy'
<http://forum.java.sun.com/forum.jspa?forumID=550>
Similar Messages
-
What is the best way to deploy an applet using iWeb
I have an applet with a very standard applet tag.
I don't see any way to deploy that directly.
So instead, I just create an html snippet widget, and paste in the applet tag.
Very simple standard stuff
<applet codebase="xx" code="xx.class" etc>
<parameter ...>
<parameter ...>
etc
</applet>
iWeb has not seen my applet yet, so it is just a bunch of html code.
The problem is that it is hanging forever.
Apparently it is throwing some kind of exception.
Give it a try and you will see.
Whatever shall I do to get my applet deployed?
Thanks, VictorI have an applet with a very standard applet tag.
I don't see any way to deploy that directly.
So instead, I just create an html snippet widget, and paste in the applet tag.
Very simple standard stuff
<applet codebase="xx" code="xx.class" etc>
<parameter ...>
<parameter ...>
etc
</applet>
iWeb has not seen my applet yet, so it is just a bunch of html code.
The problem is that it is hanging forever.
Apparently it is throwing some kind of exception.
Give it a try and you will see.
Whatever shall I do to get my applet deployed?
Thanks, Victor -
What is the best way to deploy/update custom security realm classes to WLS 6.0?
From the WLS 6.0 console, I see that I can specify the Java class that
implements my custom security realm but I am wondering what is the best way
to deploy/update this code. I don't see a way to do this from the console.
Does this mean that I have to manually copy the class files over that
implement my custom security realm?Thanks Danut,
A jar file seems to be a good way to package it up but it sounds like it
still needs to be manually copied to each Weblogic server install directory
post-installation and whenever it is updated. I thought it would be nice to
be able to deploy/update the custom security realm by uploading it through
the Console just as you can with web applications and EJBs.
Brian
"Danut Prisacaru" <[email protected]> wrote in message
news:3aba2db0$[email protected]..
You have to have your Custom Realm class in the class path. I usually havea
jar file with all the Custom Realm classes and that jar I copy it in thelib
folder. Then I modify "startWebLogic.cmd" and I add to the classpath
".\lib\CustomRealm.jar"
set
CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\CustomRealm.jar;
>
Be aware that in order to have you custom realm besides creating thecustom
realm using the console you also have to create a custom caching andchoose
that one as your default caching realm.
Here is how the security settings are looking in my "config.xml"
<CustomRealm Name="CustomRealm"
RealmClassName="Custom.appserver.weblogic.security.CustomRealm"/>
<CachingRealm BasicRealm="CustomRealm" CacheCaseSensitive="true"
Name="CustomCachingRealm"/>
<Realm CachingRealm="CustomCachingRealm" FileRealm="wl_default_file_realm"
Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<Security GuestDisabled="false"
Name="mydomain" PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm"/>
Danut -
What is the best way of accessing application module without page binding?
Hi All
I am using Jdeveloper 11g R2 (11.1.2.3) & Weblogic 10.3.5.0
What is the best way of accessing application module without page binding?
In my application after user authenticated from LDAP
I need to read some information from database and set my menues.
Thanks
MohsenHi,
if you don't have a binding the I am not sure the binding context is created. Anyway, try
BindingContext.getCurrent().findDataControl("name here as ID in DataBindings.cpx") and see if it returns a valid instance
Frank -
What is the best way of deploying a jsp and bc4j aplication
Hi
I would like to know what is the best way of deploying a jsp and
bc4j aplication in ias 9i.
thanks in advanced
rjcIn the page I simply referenced the facescontext directly... no need for a custom servlet.
public void createcookie() {
FacesContext fc = FacesContext.getCurrentInstance();
HttpServletResponse resp = (HttpServletResponse)fc.getExternalContext().getResponse();
Cookie userCookie = new Cookie("cookiename", "cookievalue");
userCookie.setMaxAge(-1);
userCookie.setMaxAge(3600);
resp.addCookie(userCookie);
return null;
public String readcookie() {
FacesContext fc = FacesContext.getCurrentInstance();
ExternalContext ec = fc.getExternalContext();
Map cookiemap = ec.getRequestCookieMap();
if (cookiemap != null) {
Cookie cookie = (Cookie) cookiemap.get("cookievalue");
return cookievalue;
For reference I could not get getCookies() method of HttpServletRequest to work.. it would only return JSESSIONID. -
What is the best way to delete applications?
I am told that my Mac came with everything I need in the way of programs for basic functions. What is the best way to delete applications making sure there are no threads left in Library and other places?
Yes, but not always. An example of what I call "System" files/folders would be Quicktime or things like pre-installed print and scanner drivers. You have to be pretty confident to go rummaging through files in either /System or /Library. Most of the time there is no reason to be in there.
An example of a file that is in those system folders, that does not come pre-installed as of Lion, is Flash plug-ins. That gets installed in the /Library/Internet Plug-Ins
But your average App downloaded from the MAS, most of it's files will be in the User Folder ~/username -
What is the best way to be sure that there is no virus
Hi guys,
thanks for your responds,
I believe my laptop has a virus or spyware. It is slow and take ages to comes up. Also during using internet exploring it is very slow in internet browsing.
During use of msn chat voice sometime it freeze.
What is the best way to be sure that there is no virus.
I already have Norton 2007 with the latest update.
thanksHi
> What is the best way to be sure that there is no virus?
The best way is to use an Antivirus application and some Anti malware and Trojan applications.
You use already the Norton Antivirus program. This is great. Be sure that this application is always up-to-date.
Additional you could install Adaware. This is freeware tool and it scans your OS for malware.
But the virus or malware is not always a reason for an OS freezing.
Please check your processes which are running in the OS background. You can use additionally the application called CClean.
It scans you OS for troubles and repair the registry.
Maybe it helps -
HT3275 what is the best way to retreive photos that were in the trash & it was emptied
What is the best way to retreive photos that were in the trash & were emptied
Look to the right on this page under 'More like this'.
-
What is the best way to manage multiple ipods using the same itunes?
Hi Everyone
i am trying to manage three different ipods through the one Itunes, all with very different tastes, not sure if I am doing it the best or easiest way so does anybody have a simple solution on what you're supposed to do, to keep it all simple!
Cheers
LivIf you have created a new Windows user account you need to log out and then log back in with your original user name. By default each Windows profile will have an independent iTunes library.
If instead you managed to create a new library within the same profile. click the icon to start iTunes and immediately press and hold down the shift key, keep holding until asked to create or choose a library. Click Choose and navigte back to your original which should be at <User's Music>\iTunes.
Your question as posed was:
What is the best way to manage multiple iPods using the same iTunes {library}?
in which case Selected Playlists is probably the best approach. Simply create a playlist for each device, Alice's iPod, Bob's iPhone etc. and sync the device with the appropriate list.
tt2 -
What's the best way to prevent KDE from using pulseaudio?
What's the best way to prevent KDE from using pulseaudio if it is required to be installed for gnome?
KDE system Settings > Mulitmedia (in Hardware category) > Audio and Video options > Audio Playback
the default device shown there is the pulseaudio device, move it to the bottom of the list
Check all sub entries under Audio Playback to make sure they all have default at the bottom.
This SHOULD make KDE sound subsystem use the real hardware directly through Alsa instead of pulseaudio. -
What is the best way to avoid latency when using the io plug in?
What is the best way to avoid latency when using the io plug in?
Hi colin a.
Welcome to the Support Communities!
The article below may be able to help you with this. Click on the link to see more details and screenshots.
Logic: About I/O buffer size and monitoring latency
http://support.apple.com/kb/ht1314
Cheers,
- Judy -
What is the best way to handle collections that contains different object
Hi
Suppose i have two class as below
class Parent {
private String name;
class Child extends Parent {
private int childAge;
}I have a list that can contains both Child and Parent Object but in my jsp i want to display a childAge attribute ( preferrably not to use scriplet )
what is the best way to achieve this?Having a collection containing different object types is already a bad start.
How are parent and child related to each other? Shouldn't Child be a property of Parent?
E.g.public class Parent {
private Child child;
}In any way, you could in theory just check Object#getClass()#getName(), but this is a nasty design. -
What is the best way to deploy an application ??
Hi,
Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war)
to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that
too in a Production environment.
I know that we can use weblogic Console to deploy an application BUT if i have
2 unix boxes and each box contains 4-4 clusters(each containing 16-20 managed
servers) .....then i have to open up 2 Admin server consoles to deploy each of
the respective applications and that too deploying these application to 8 clusters.....OR
i can use deploy commad to do the same.
AND if i have like 100 clusters .....then i would have to "deploy" 100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangitaThanks Tommy. but i would like to know a very important point here: this is using
the weblogic.utility that you just talkd about.
Suppose iam having an ADMIN server that has say 10 clusters and 50 managed servers
underneath to take care.
1 cluster each = 5 managed server
now iam deploying a simple .war file to say a single managed server, i have found
out that it takes a looot of time to get the application deployed.
what do you say about this situation ?
what is the best approach ??????
-sangita
"Tomy Mathew" <[email protected]> wrote:
>
>
To deploy the application from the command prompt in WebLogic 6.1 you
use the
following command
$JAVA_HOME/bin/java -cp $WL_HOME/weblogic.jar weblogic.deploy -port $WEBLOGIC_PORT
-host $WL_HOST_IP $WEBLOGIC_CMD $WEBLOGIC_PWD -component $WL_Server_NAME:$WL_Server_NAME
$WL_APPLICATION_NAME YourApplication.war
$WEBLOGIC_CMD sould be DEPLOY for the first time deployment and UPDATE
for redeployment
For deploying in a cluster you better create a shell script which call
the above
command with different cluster ip address as a parameter.
Tomy
"sangita" <[email protected]> wrote:
Thanks Rob for your expertise advise. I would check to see wls8.1's
ANT tasks.....for
wls6.1, i would guess shell scripts to be a better option for us.
thanks again.
Rob Woollen <[email protected]> wrote:
If you're using 8.1, then it's pretty nice to use ant for
configuration/deployment/starting and stopping servers etc. There's
a
wlconfig task to do configuration, wldeploy to deploy applications,
wlserver to start/stop servers.
For 6.1, it's probably not a huge win to use ant. It's up to you.
If
you're more comfortable using shell scripts, that's certainly a
reasonable route.
-- Rob
sangita wrote:
Thanks Rob.
But all the stuff that ANT can do for me FOR DEPLOYMENT (ONLY) .....ican do it
from a simple shell script too.
And i understand of ANT's cross-platform environment and usage of
JAVA
.....but
can i use ANT to do something like CONFIGURING my wls6.1 managed
servers/clusters/creating
managed servers/db connection pools ......and all the other configurationthat
i do from wls console(or manually) ....????
and if yes, do you know of any examples, suggestions, ideas ?????
basically, if i need to sell(?) ANT to my juniors ......what are
the
basic reasoning
i can put forward....keeping in mind that these guys use wls6.1 &
wls8.1......and
these guys do CONFIGURATION and DEPLOYMENT only.
sorry for asking, may be these silly questions.
thanks, sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Thanks Rob.
Rob, do you still consider or suggest using ANT for deploying say
20
applications
on a 10 clustered environment.Yes
do you see any advantages using [ANT + weblogic.deploy]..... over
simply
using
weblogic.deploy utility ???Yes. ANT essentially gives you a cross-platform environment that
allows
extensibility through java. It's very powerful.
-- Rob
-sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Rob,
I have found the answer for my question #1 ...this is the URL:
http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html
iam still hoping to hear back from you for #2, #3
thanks a ton.
"sangita" <[email protected]> wrote:
Thanks Rob.
quick question:
1) do you know of any example which illustrates the use of ANT
wrapper....or
please
direct me to a URL where i can find some documentation about
it.
2) does this ANT wrapper has any advantages over using weblogic.Deployer
utility
??If you're doing deployment via ant, then it's a bit more convenientto
use <wldeploy> rather than invoking a raw <java> process, but
fundamentally it's just a wrapper around weblogic.Deployer
3) i would certainly check to see weblogic.deploy for wls6.1
....can
i use ANT
for deployment purpose in wls6.1 ?You'll just need to wrap it in a <java> task
See:
http://ant.apache.org/manual/CoreTasks/java.html
-- Rob
Rob Woollen <[email protected]> wrote:
If you were using WLS 7.0 or later, you could use weblogic.Deployer.
If
you were using 8.1, you could use wldeploy which is an ant task
wrapper
for weblogic.Deployer.
In WLS 6.1, you'll have to use weblogic.deploy which is a bit
cumbersome, but it's still certainly possible to script deployment.
-- Rob
sangita wrote:
Hi,
Please advise me how to automate in a best way to Deploy
10
different
applications(.ear/.war)
to 10 different Clusters(containing 40 Managed servers) in
wls6.1......and
that
too in a Production environment.
I know that we can use weblogic Console to deploy an application
BUT
if i have
2 unix boxes and each box contains 4-4 clusters(each containing
16-20
managed
servers) .....then i have to open up 2 Admin server consoles
to
deploy
each of
the respective applications and that too deploying these applicationto 8 clusters.....OR
i can use deploy commad to do the same.
AND if i have like 100 clusters .....then i would have to "deploy"100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangita -
What is the best way to deploy a java application ??
Hi,
I have a question about "deploying" a java application on to a weblogic server.
Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war) to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that too in a Production environment.
I know of using Weblogic Console OR the "deploy" utility to do so ......BUT if i have like 100 clusters .....then i would have to "deploy" 100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangitaHELLO!!! WELCOME BACK!! I THINK YOU SHOULD USE
deploy....Hey Thanks.
is there any network congestion OR any other problem that i can anticipate before i use "deploy" utility. I have heared of some problems(i couldn't remember them now ....because honestly, i couldn't understand them atall when a BEA consultant told me those...).
so, any problem that may arise ....that i need to think about before deploying ~10 applications to like ~70-80 clusters ....all at a time.
thanks again for your advise. iam learning to see the big picture of application deployment.
-sangita -
What is the best way to deploy a cert office wide
We need to find a way to deploy a cert to 400 systems. What would be the best way to go about this please and thanks
HELLO!!! WELCOME BACK!! I THINK YOU SHOULD USE
deploy....Hey Thanks.
is there any network congestion OR any other problem that i can anticipate before i use "deploy" utility. I have heared of some problems(i couldn't remember them now ....because honestly, i couldn't understand them atall when a BEA consultant told me those...).
so, any problem that may arise ....that i need to think about before deploying ~10 applications to like ~70-80 clusters ....all at a time.
thanks again for your advise. iam learning to see the big picture of application deployment.
-sangita
Maybe you are looking for
-
I have downloaded Photoshop cs6 and recieved my serial from adobe this morning , the download completes but when i try to install in Frensh language mode , but the install fails and a message sais (in Frensh) : Echec de l'installation Il existe une v
-
Request For Quotation - ME41 - Item texts are not getting copied
Hi, I created one RFQ (Request For Quotation) by copying from the existing one (through t-code ME41). But item texts are not copied. How can this issue be resolved..? In menu path ( Item --> Texts --> Adopt Text ), "Adopt Text" option is available. B
-
please help!!!
-
Is there a sizeof() vi in labview?
I would like to get the size (in bytes) of various labview data types. Is there i vi which will do this? I can't find one. It seems flatten to string followed by string length does the job, but its a of shame having to create a string just for this..
-
I am somewhat new to coldfusion and am making a script that will read RSS docs and grab all of the item elements without having to worry about which version of RSS the doc is. I am trying to use the getElementsByTagName function to accomplish this. <