Java Link

See which of your colleagues or former colleagues are already on Java Link: Check out the Contact Finder
Java - General » Web Services » How to do this?

270 Views
  3 Replies

0
Vote Vote
How to do this?
Share  
Jyoti
Jyoti Picture
19 Posts
back to top
Posted 26-12-2009Reply

I want to use my pc as a hosting server, i.e. people can host their site on my pc, my pc will b connected 2 net for 24 hrs.

I want to let the people use my pc for their use on net. What I'll have to do for that? DNS, ISP etc......

Karthik
Karthik Picture
6 Posts
back to top
  Rated 0 | Posted 28-12-2009

hi jyoti
jus chk out the below link,
http://www.astahost.com/info.php/web-host_t18521.html
it may just give u an vague idea...
n do google for more in-depth info or ask any system admin / post in tech support forum ...

Abhishek
Abhishek Picture
11 Posts
back to top
  Rated 0 | Posted 28-12-2009

Hi

Hosting a scalable site with 24 X 7 support is quit a deal .....

offcourse if you have a system and an app server deployed on it you have to configure a DNS (coz nobody likes a an IP address)

but important part is that how will you ask users to deploy their apps your server

1.u can manually take their apps and deploy them on your server ( thats simply not cool)

2.develop a programm which remotely deployes their app from thier pc to your server ( I guess for this you like to see goolge app engine).

and also i hope your question was related to hosting a site not someting like yahoogeosites (coz geosites are different story all together).

but before doing that see that u have all the infra like DB good scalable App server and the list continues

Abhishek
Abhishek Picture
11 Posts
back to top
  Rated 0 | Posted 29-12-2009

if you want to remotely deploy

so the first task would be to get the app war/EAR from the client to your machine .

now what you can use is the FTP API provided by JSCAPE ( why jscape ? becoz I like that) and develop a simple client programm to upload the app war / EAR .

this is pretty straight forward J2SE please refer : -- http://www.jscape.com/articles/simple_ftp_using_java.html

Once you have the WAR\EAR now u can deploy it using ANT or MAVEN ..

But it strictly depends on the Server which are using coz different server have different Ant tasks for the deployment onto the Server.

0
Vote Vote
Share  

Recent Activity in Forums

05-04-2012.
05-04-2012.
Kanchana posted a new forum topic in
27-02-2012.
11-02-2012.
Kanchana posted a new forum topic in
11-02-2012.