Virtual Private Network using JSP

Sir tell me how to create a virtual private network in jsp using rmi to register for a new user and socket program to 1.send data(file and text)
2.Recieve data (for a particular client).The server will monitor which all clients are loggined into the network and control all transactions between clients.I am using jakarta tomcat 5.0 as webserver and notepad as editor.
Sir please help me....

alan,
Thank you for your reply.
I apologize for misunderstanding. I should have phrased my question better.
You wrote:
"Load up each OS on the hardware and then add the software and then figure out which matrix you're looking for. In order to do this your application will need to be compiled for each OS assuming that it isn't something cross platform such as a Java application. Is it completion time, time on the network, load, memory consumption, or something else that you're looking to measure?"
Although the application's own performance is extremely important, my question was not related to it.
It's written in .NET 2.0, and it's not designed to work on non-Windows machines, or not even on Mono framework.
I am asking about performance of virtual machines.
For example, if I had 2 servers (not just one) with the same technical characteristics, and run several "guest" virtual machines (say, for example, 1 Windows Server 2003 + 1 Windows XP) in a virtual private network on VirtualBox on both of those servers...
...so, everything is exactly the same, EXCEPT the host OS on the two servers: Solaris vs. something else (Fedora, or Windows Server 2008, or whatever),
my question is: would Solaris 10 provide better performance benchmark numbers, or would those numbers be the same as the other OS on the 2nd machine?
The problem is, I have quite a bit of experience with running virtual machines on Windows hosts, but I am new to Solaris, and I am trying to figure out which OS I would be better off installing on the new machine, because that decision is not going to be easy to undo later.
No "OS wars". Really. I do not have any allegiance to any particular OS.
Thank you.
Dmitriy

Similar Messages

  • Error trying to run the Sample Code Virtual Private Database using JSP's

    Hi.
    I`ve downloaded the Virtual Private Database using JSP's example from the Oracle9iAS Security - Sample Corner (http://otn.oracle.com/sample_code/deploy/security/9i_security.html)
    I ran the SQL script just fine. I�ve Opened the JDeveloper Flile (security.jws) and tried to Make it (following step 2 on "Run the Application using JDeveloper Environmentinstructions" in the README ) but i get this error:
    Error: unable to copy to output directory, web.xml not found
    It seems that i need the web.xml to run this application, but in the zip file i cannot find any XML file.
    What can i do?.
    Thanks in advance for your help

    Hi,
    the problem seems not to be within your application but in missing files on your embedded OC4J. Just try and unzip the JDeveloper 10.1.3 install again.
    Frank

  • Creating a virtual private network?

    I've been reading some articles recently about creating a virtual private network for security and privacy reasons. Is it easy and is it a good thing to do?
    One part mentioned possibly having to pay a subscription for this service with your service provider? Would I have to with sky?

    If you regularly have the need to remotely access another machine which is at a different geographic location, VPN is a great idea. It can be difficult to set up, and requires network hardware support. For example, you either need to have a VPN gateway device (such as a Netgear FVS114 - check for them on eBay), which acts as the VPN endpoint, or you need to run a VPN server on your Mac and your gateway must allow VPN passthrough traffic. I'd generally recommend the first option, although it can be more expensive.
    You also need VPN client software running on the Mac you use to access your network. I recommend the free IPSecuritas. There's also VPN Tracker, which is very user friendly but does come at a price.
    Matt

  • Broken Link - Firewall and Virtual Private Network Communication for Oracle

    The link for Firewall and Virtual Private Network Communication for Oracle Enterprise Manager on http://otn.oracle.com/products/oem/files/best_practices.html returns a 404 error. It is not pointing to the correct document

    This link is still broken !
    Can you please correct this ASAP ?
    Best regards, Yolanda
    Oracle HUB support services

  • Virtual Private Networking

    I've tried to research this subject before I posted, but I really haven't found any good explanation - I've had an icon at the top right of my screen since I've had my computer - it's for "VPN" - which I've basically ignored until today - I'm curious as to its function. Like I said - I tried to find out more about it, but every explanation is unclear to me. Can anyone tell me, very simply, what exactly is VPN?

    The name kind of says it all, but a practical example often helps.
    First, think of a private network as any local area network such as that used in an office, your home, etc. Everything on that local area network (LAN) is private, and protected from the internet by firewalls, NAT devices, etc.
    That's all well and good for people inside the office. However there are many cases where people outside the office would also benefit from access to the internal/private machines. For example, sales people might benefit from accessing the corporate database on product availability, client profile, etc., or maybe want access to a corporate file server or email server.
    One option is to open those services to the outside world, but you then run into issues with protecting the data from unwanted users - e.g. hackers trying to crack into the corporate database, download financial information, etc.
    It's possible to do using various authentication systems, encryption systems, etc., but you have to apply the same rules over and over again to every service that you want to be able to access remotely, and missing just one leaves your entire network vulnerable.
    Enter the VPN.
    The VPN extends the concept of the private LAN to specific remote systems. Remote users connected to the VPN (e.g. that sales guy on the road, the IT guy working from home, etc.) authenticate once to a VPN server and then appear to be in the LAN, just as if they were at a desk in the office.
    As far as all the internal servers are concerned, the user is local. He can do anything he'd be able to do in the office, including printing on office printers, accessing file servers, etc., without the need to specially configure each service, and without the need to open lots of holes in the corporate firewall.
    So the user on the VPN appears to be on the local network, but isn't - hence the 'Virtual' part of the equation.
    VPNs can be scaled to support anywhere from one or two users to thousands of users across multiple continents - it's not uncommon, for example, for multi-national corporations to have VPN connections between offices. That way anyone in any office can connect, securely and easily, with anyone else, without having to worry (too much) about where that resource is, or whether it's available outside of the office.
    Does that help?

  • Virtual Private Network Zones

    I posted this topic in zones [http://forum.java.sun.com/thread.jspa?threadID=5287549&tstart=0|http://forum.java.sun.com/thread.jspa?threadID=5287549&tstart=0]
    What I'm trying to do is set up a way to create zones with ip's in the private ip space 10.0.0.0 that do not communicate outside.
    After doing some more investigating it seems that is possible somehow without crossbow, but I'm not sure how.
    I only have one nic installed.
    Can I add a virtual ip address like rtls0:2 with ip address 10.x.y.z, add an entry in /etc/netmasks then add zones in that network?
    At this point I don't care if the zones can't communicate with the internet as long as they can communicate amongst themselves. I also want to make sure that packets in the 10.0.0.0 network don't leave the computer.
    I'd prefer to find a way to do it without putting the 10.x.y.z address on the actual rlts0 device if possible. What I want to make sure is that no packets in the 10.0.0.0 network leave the computer, and more importantly, none from outside the computer enter.

    One solution is to put a second NIC on your machine, then you can use precursor-to-crossbow IP Instances. The NIC will have to be GLDv3, though, like e1000g or bge or nge, however, unless you're running one of the very recent OpenSolaris builds.
    Once you create a unique-instance zone, you can have that net-10 interface be in its own TCP/IP stack.
    Hope this helps,
    Dan McD. - Solaris Engineering

  • Virtual Private Network

    We would like to use MS direct for our VPN and therefore, please advice whether MS professional will support the feature or we need to go for MS enterprise.

    If you are talking about using Direct Access as your VPN, then that requires Windows 7 Enterprise or Windows 8 Enterprise.
    http://technet.microsoft.com/en-us/windows/dn197886.aspx
    "What Windows 8 editions support DirectAccess?
    Using DirectAccess requires Windows 7 Enterprise or Windows 8 Enterprise. Some DirectAccess features are not available in Windows 7 Enterprise, requiring Windows 8 Enterprise to deploy them."
    . : | : . : | : . tim

  • Virtual Private Networking (VPN)

    Hi all, I am new to the Java technology. I was wondering if the latest Java 2 SDK and the J2ME are capable of VPN'ing into remote servers? If so, please clarify what it is I need to look up API wise to do so. Please BE specific so that I don't research the wrong stuff. If not, then what other option do I have?
    Please clarify. Thanks.

    I think the general answer to your question is "No."
    The reason is that "VPN" is a generic name for a number of possible technologies. I do not think that Java comes with a class which encapsulates the various different protocols used for VPN. The most generic protocol is the new "IPSEC" protocol that is becoming more prevalent. But, again, I don't think that Java comes with an IPSEC class that you can use to create a "VPN tunnel" to a remote system or LAN.
    In general, a "VPN tunnel" would need to be created outside of Java. Your Java program could then talk to the remote site via the "VPN tunnel" using the standard TCP/IP capabilities of Java.

  • Creating a virtual private network from OSX Leopard to Windows Vista

    Well as the title suggests, I need to be on the same VLAN with another user running Windows Vista. What solutions are there to accomplish this?
    (HamachiX stops responding. The HamachiX CLI (command line) makes me login without me knowing how to. I'm ultimately trying to have a VLAN for some online gaming, NOT transferring files.)
    Thanks so much!

    This issue is not resolved but is being closed due to lack of response.

  • How can I create a Virtual Private Nework on my MacBook Pro?

    Hello all,
    I have a MacBook Pro 17" with OS X 10.4.7. I need to install and run five instances of Apache2 and demonstration the websites without having to be connected to a network/Internet. My /etc/hosts file would look something like:
    192.168.21.1 www.local
    192.168.21.2 svn.local
    192.168.21.3 trac.local
    192.168.21.4 jsp.local
    192.168.21.5 cfmx.local
    Then I could just open up a browser and type www.local in the url locator.
    How would I setup a virtual network card where I can assign these IP addresses to it? Would I use the lo0 (loopback) for this?
    I also have Parallels installed so that I can run one or more other operating system along side Mac OS X like Windows XP Pro, Redhat, etc.
    Is there a way that I could create a virtual private network on my MacBook Pro and not have to be connected to any network?
    How would I do this?
    Thanks,
    Troy Simpson

    As it turns out this is exactly what I am looking for:
    http://forum.parallels.com/thread1877.html
    I want to create a Host-Only Network on my MacBook Pro. The Parallels software created a virtual Network Interface Card on the Host OS called en2. I just added aditional IP Address to this virtual Network Interface Card.
    Even if you do not use Parallels for Hosting Guest OS (Virtual Machines), it does create the Virtual Network Interface Card.
    Now I have 5 Web Servers on my MacBook Pro so that I can test various senerios and configurations.
    Troy Simpson

  • Private network OK, guest network no IP

    Hi Community -
    Just installed our new AirPort Extreme, went very well.  The private network (using W2PA Personal) works great.  Devices can connect to the guest network (WPA2 Personal), but do not acquire an IP.  Router is a SonicWall TZ 215.  Any thoughts or similar experiences much appreciated!
    Thanks to all -
    HMKCentral

    The guest network does not work when the airport is in bridge mode.. you can put in the details.. but it cannot get working access to main router for secondary vlan.
    If you really want this to work, look at the details in threads where people have used a managed switch to provide the necessary vlan requirement. TZ215 should have that level of control.
    I have tracked this issue for a while.
    Guest network in bridge.
    https://discussions.apple.com/thread/2815541?start=15&tstart=0
    https://discussions.apple.com/thread/3617532
    https://discussions.apple.com/thread/5247107?start=0&tstart=0
    https://discussions.apple.com/thread/4787934?start=45&tstart=0
    https://discussions.apple.com/message/23127620#23127620

  • How to route traffic to a static public IP address on my private network

    Here is my topology:
    ISP Modem ---------------- (gig0/0) Cisco Router (gig0/1) -----------------Cisco Switch--------------------Server
                                           60.70.80.90             172.16.0.1                     172.16.0.2                         60.70.80.91
    Gateway: 60.70.80.89
    Netmask: 255.255.255.240
    Scenario:
    My ISP has given me 5 static IP addresses in which I want to assign one of them to one of my servers that lies within my private network.  I am wondering what kind of configurations I would need to be able to access my server from outside my private network using one of the static IP addresses that was given from my ISP. Does this need some sort of static NAT on top of the inside/outside NAT I have done on my router? Thanks
    Best Regards,
    Sean

    Duplicate post. 
    Go HERE.

  • Using VPD (Virtual Private Database) with Discoverer for Dummies

    Firstly could you please excuse me for the title of the thread, but it’s all I could come up with. For those of you who are looking at me with a strange look of disgust, please view thread that started it all: BIS vs DBI vs Noetix .
    Otherwise I’m hoping to gain a greater understanding of how VPD can be used to enhance Discoverer and it’s performance. I've just read that :
    “Oracle 8i introduced the notion of a Virtual Private Database (VPD). A VPD offers Fine-Grained Access Control (FGAC) for secure separation of data. This ensures that users only have access to data that pertains to them. Using this option, one could even store multiple companies' data within the same schema, without them knowing about it.
    VPD configuration is done via the DBMS_RLS (Row Level Security) package. Select from SYS.V$VPD_POLICY to see existing VPD configuration.”
    With Regards to Discoverer, I would like to ask the following:
    -When would be best to use VPD in Discoverer?
    -Pro’s and Con’s of VPD?
    -Tips / Tricks?
    -and anything else Michael would like to add (I don’t believe there is a post limit, although this could change in the future)
    I've found a few handy links:
    http://www.adp-gmbh.ch/ora/security/vpd/index.html
    http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_security.html
    As Metalink support would say : I Looking forward to your ‘Positive’ comments. ;-)
    Lance

    Lance,
    You sure do raise some interesting questions here.
    I've noticed from some of your previous posts that you are using views to link Discoverer through to apps. I have found this very interesting document that may help with your queries; http://www.oracle.com/technology/deploy/security/oracle9ir2/pdf/VPD9ir2twp.pdf
    If you scroll down to the section "Additional VPD Capabilities" and read the following sub-topics, this might enable you to base your Discoverer reports on views that contain VPD policies.
    I trust "My Positive Comment" may help!!
    Merry Christmas
    Si ;-)
    P.s This also may come in handy if running 10g http://www.stanford.edu/dept/itss/docs/oracle/10g/network.101/b10773/apdvpoli.htm
    Message was edited by:
    Simon Pittaway

  • Is there a way to create a virtual network using C# and the Azure SDK/API?

    I don't see a clear way to create an Azure Virtual Network using the SDK.
    I have all the methods to create the virtual network configuration, but no way to submit it:
    IList<string> VirtualNetworkAddressPrefixes = new List<string>();
    IList<string> LocalNetworkAddressPrefixes = new List<string>();
    IList<NetworkListResponse.DnsServer> DNSServers = new List<NetworkListResponse.DnsServer>();
    IList<NetworkListResponse.Subnet> Subnets = new List<NetworkListResponse.Subnet>();
    NetworkListResponse.Gateway Gateway = new NetworkListResponse.Gateway();
    IList<NetworkListResponse.LocalNetworkSite> LocalSites = new List<NetworkListResponse.LocalNetworkSite>();
    IList<NetworkListResponse.Connection> Connections = new List<NetworkListResponse.Connection>();
    VirtualNetworkAddressPrefixes.Add("a.b.c.d/cidr");
    DNSServers.Add(new NetworkListResponse.DnsServer() { Name = "TestDNS1", Address = "a.b.c.d" });
    Subnets.Add(new NetworkListResponse.Subnet() { Name = "Subnet-1", AddressPrefix = "a.b.c.d/cidr" });
    Subnets.Add(new NetworkListResponse.Subnet() { Name = "GatewaySubnet", AddressPrefix = "a.b.c.d/cidr" });
    Connections.Add(new NetworkListResponse.Connection() { Type = LocalNetworkConnectionType.IPSecurity });
    LocalNetworkAddressPrefixes.Add("a.b.c.d/cidr");
    LocalSites.Add(new NetworkListResponse.LocalNetworkSite()
    Name = "On-Prem",
    Connections = Connections,
    VpnGatewayAddress = "a.b.c.d",
    AddressSpace = new NetworkListResponse.AddressSpace() { AddressPrefixes = LocalNetworkAddressPrefixes }
    Gateway.Sites = LocalSites;
    Gateway.Profile = GatewayProfile.ExtraLarge;
    NetworkManagementClient netMgmtClient = new NetworkManagementClient(CloudCredentials);
    NetworkListResponse netlistresp = GlobalSettings.mainWindow.netMgmtClient.Networks.List();
    netlistresp.VirtualNetworkSites
    .Add(new NetworkListResponse.VirtualNetworkSite()
    Name = "TestVirtualNetwork",
    AddressSpace = new NetworkListResponse.AddressSpace() { AddressPrefixes = VirtualNetworkAddressPrefixes },
    DnsServers = DNSServers,
    Subnets = Subnets,
    AffinityGroup = "East US",
    Gateway = Gateway,
    Label = "LabelValue"
    I have also created the entire XML response and sent it to the NetworkManagementClient -> Networks.SetConfiguration() method, but it appears this command expects the virtual network to already be in existence. If anyone could give guidance, it would be
    appreciated.

    Hi,
    As discuss above , we have to create the XML response  ,before that first you have to
    GetConfiguration() details of existing virtual network. 
    string.format("@<NetworkConfiguration xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://schemas.microsoft.com/ServiceHosting/2011/07/NetworkConfiguration'>
                <VirtualNetworkConfiguration>
                <Dns />
                <VirtualNetworkSites>
                <VirtualNetworkSite name=""{0}"" Location=""{1}"">
                <AddressSpace>
                <AddressPrefix>10.0.0.0/8</AddressPrefix>
                </AddressSpace>
                <Subnets>
                <Subnet name=""Subnet-2"">
                <AddressPrefix>10.0.0.0/11</AddressPrefix>
                </Subnet>
                </Subnets>
                </VirtualNetworkSite>",Networkname,location)+(@"<VirtualNetworkSite name=""demodsf1"" Location=""West Europe"">
            <AddressSpace>
              <AddressPrefix>10.0.0.0/8</AddressPrefix>
            </AddressSpace>
            <Subnets>
              <Subnet name=""Subnet-1"">
                <AddressPrefix>10.0.0.0/11</AddressPrefix>
              </Subnet>
            </Subnets>
          </VirtualNetworkSite>  </VirtualNetworkSites>
                </VirtualNetworkConfiguration>
                </NetworkConfiguration>")
    you have to append the node for existing node with new values , i got it its adding new virtual network 
    Best regards,

  • How can I  connect to SQL server database thru local network by using JSP?

    I'm currently doing a project by using JSP..And I need to display record from the SQL Server database in our school's local network. May I know how can I do that? How can I write the code so that I can able to access the SQL Server databsase Throught school's network by using JSP? Please tell me step by step how can I do that. I'm using Tomcat 4.1 as Web Server. And I had J2SE and J2EE installed in my computer.

    first you have to establish a ODBC DSN on your computer,
    that connects to the database...you can do that from your control pannel.
    i assume that the TOMCAT server is residing on your computer....(if the webserver is in other computer then you would have to create a System DSN on the data sources ODBC option in the settings>control pannel of that machine)
    then you can use that DSN name to connect to the data base from the class file....for further assistance on how to create the class that access the tutorials in sun site.
    regards
    G

Maybe you are looking for