Connect two oracle9i with a java programme

Hi everyone
i have one jsp/servlet file and two oracle9i database.both on same server .i want to connect or use both db with a jsp/servlet file .then how can i do? query can be for any DB or can use both DB at a time.how i should maintain connection for that and query for that.
Reply it urgently
thanks
Deepak

Deepak,
This is just a suggestion: database links.
Good Luck,
Avi.

Similar Messages

  • Can connect two Macs with USB2 cable?

    Can connect two Macs with USB2 cable?

    You can connect two Macs with an ethernet wire, or conect two Macs using Firewire if one is placed in target disk mode, but that is it.

  • Can I connect two macs with thunder bolt ?

    can i connect two macs with thunderbolt like I do with firewire and IP? I don't want to transfer files by using the control "T" at startup . I want use VNC to control one mac from the other and use thunderbolt vs ethernet.
    thanks for any help

    You can connect the two.  Whether you can use VNC, I have no idea.
    http://store.apple.com/us/product/MC913ZM/A
    Ciao.

  • What happen when we connect Two PC with IP from Same subnets

    Scenario 2nd : What happen when we connect Two PC with IP from Same subnets. PC1 -192.168.10.1/24 PC2 - 192.168.10.2 on a two different L2 Switch on different vlans which are connected via a LAN cable.
    All ports are access ports
    Interview Question : No More Info.
    Pc1<SwA>------<SwB>PC2
    Q.1 Will they communicate If yes what will be packet/frame flow.
    Q.2 If not where will be the packet/frame drop. ? Why.
    I need step by step if possible plz how the packet moves , vlan taggings n all internal works that happens behind .. plz 
    thnx in advnce ....

    Hi Abhishesk,
    The PCs should communicate each othet.
    Since there is no trunk port involved, there is not tagging involved.
    Since both the PCs are into the same subnet. PC1 will not need default gateway for the communication with PC2. So PC1 will start with sending ARP request for PC2 MAC address.
     Since all the ports in SW1 are in same VLAN, the ARP should reach all ports including the switchport where SW2 is connected to.
    Sw2 has got a complete different access port on ALL the switchports. Sw2 will receive the ARP from Sw1. Remember that there is no tagging for the frame. Hence Sw2 will again send the ARP packet to all the ports which belong to same VLAN wherein the packet is received. ie, Sw2 will send the ARP packet to all the ports in Sw2. PC2 will also get the the ARP.
    The ARP reply will make it way back using the same logic.
    Now both the PCs can start the actual packet exchange.

  • Is it possible to directly connect two Xserves with a Promise VTrak E610fD via Fibre?

    I have two Xserves and I'd like to connect them with a Promise VTrak E610fD. As this storage has two controllers, I'd like to connect both Xserve with both controllers. Is this setup possible? Can I access (read and write) the same disk array with both Xserves simultaneously (Xsan?) or do I have to create two separate arrays?

    Hello bleistift, and welcome to the AppleBoards,
    Fibre channel is SCSI which means that any device connected by fibre assumes it is in sole control of that device. When you attach more than one machine via fibre both machines assume they are in control and unexpected behaviors and data corruption ensues. SAN (like Apple's XSAN) provides a layer of arbitration over the shares allowing multiple fibre connections to play nicely with one another while still being connected over fibre.
    You could easily connect two machines to a single RAID box if they are accessing different RAID volumes at the same time, but once you start connecting to the same data at the same time you need SAN.
    HTH,
    =Tod

  • Connect two G5 with 1000BASE-T (Gigabit) - how?

    what i need to connect two G5 dual 1.8 with 1000BASE-T (Gigabit)?
    just a cable or some cards and routers and ....?

    Yeah, like tele_player said, it's a little harder if you want them to both have internet. We just set up our MDD and quad on a gigabit switch that so they can communicate with each other at gigabit speeds and then the switch was hooked up to a router for internet access. It wasn't that bad and we got all the supplies online for cheap. 50 foot sections of CAT 6 cost about $10. If you need to go through walls or anything like that, get the tool-less keystone jack connectors...they'll make your life much easier.

  • Connecting two computers with xover cable

    I have the Sun Java System Application Server PE8 installed on a computer under Windows XP Professional, and another computer to connected to it with a crossover cable.
    The client can ping the host, but when the client tries to connect to the app server with a web browser I get a "Failure to connect to web server" error.
    However, I can connect to the app server from a browser on the host itself.
    Do you I need to anything to make the app server accessible from another machine? Perhaps define some security settings?
    bobj5000

    It sounds like you got it right if the client can ping the host so I'm not sure why you can't get to the web server. I would assume if you can ping you would be able to connect to the web server. I don't think this is an appserver issue so I'm not sure you will get a response in this forum. Maybe you could try another resource that deals more with setting up windows boxes using a crossover cable.

  • Connecting two 4510r with Fiber

    I would like to connect two 4510r (50 Km separated) via FO but it doesn´t seem to support ZX FSPs and the supervisors don´t have GBIC slots. Any recommendations?

    Two questions -
    What Sup is in question?
    Are you using this SFP( part number GLC-ZX-SM=) ?
    This SFP seems to be supported by Sup IV and SuP V.
    http://www.cisco.com/en/US/products/hw/switches/ps4324/products_data_sheets_list.html
    Also check this link. The highlight being
    "Cisco 1000BASE-ZX GBIC can reach up to 62 miles (100 km) by using dispersion shifted SMF or low-attenuation SMF; the distance depends on fiber quality, number of splices, and connectors."
    http://www.cisco.com/en/US/products/hw/modules/ps872/products_data_sheet09186a008014cb5e.html
    HTH
    PS: please remember to rate posts!

  • Two problems with Load Java

    Problem one:
    I want to load a simple java class into a database for testing purposes of demonstrating how to use pl/sql to call a java program inside an oracle database using PLsql. The program deletes a file that you supply the path for and was in the 8i documentation.
    If I try to load the Java source using:
    loadjava -user user -oci8 -resolve JDelete.java
    i get the error: end of file or communication channel ora-03113 and it tells me that creation failed.
    I read it might be a bug but didnt fully understand. Any help out there?
    Issue two: failing at the above I tried to load the class file instead and got the following error:
    SQL> select fdelete('C:\temp\temporyfile.delete') from dual;
    select fdelete('C:\temp\temporyfile.delete') from dual
    ERROR at line 1:
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:317
    Uncaught exception System error: java/lang/UnsupportedClassVersionError
    ORA-29516: Aurora assertion failure: Assertion failure at eox.c:232
    says for 9.1 we should be compiling stuff with Java 1.3. I tried to get the SDK for 1.3 but Sun seems to no longer support it and I could not find it for download. Any help out there?

    Can anyone help with this problem.

  • Connecting two iMac with a Firewire cable

    Hello. First off, I have two iMac, one is a 24" early 2009 model (from now on, the "big") andthe other is a 21" first generation Intel (from now on, the "small")
    Big one is sick, need heavy reparation. So a user of the forum recommended this:
    "+Since you're able to post here, you have another Mac. You can use a FireWire cable to connect your iMac to another Mac in Target Disk Mode. This essentially turns your iMac into an expensive external HD enclosure. To boot your iMac into Target Disk Mode, start up your iMac and hold down the T key immediately after you hear the startup sound. Release it when you see the big FireWire symbol on the screen.+
    +Then you can use a FireWire cable to connect your iMac to another Mac. This should mount the iMac's hard disk on the desktop of the other Mac. I suggest you use DiskWarrior to try to recover the files on your iMac's hard disk.+"
    So, mi issue is that big one doesn't have a Firewire port. It's almost unbelievable but the true is that those models never came with that kind of port.
    Any idea of what kind of cable should I use to link both computers? Thanks in advance!

    Hi killthepixel
    Both have FireWire Ports, the problem is that the Early 09 has a FireWire 800 port and the other if it's an Early white 20" has two FireWire 400 ports.
    If that is the case, then you would need a 6 to 9 pin FireWire cable to connect the two systems up in Target Disk Mode.
    http://www.amazon.com/Tripp-Lite-F017-006-Firewire-Hi-speed/dp/B000AAZQLI/ref=pdbxgy_e_textb
    Below is the Apple Support Article for Firewire target disk mode.
    http://support.apple.com/kb/HT1661
    Lastly have you tried to boot and fix the sick iMac using the Install Disk that came with it.
    http://support.apple.com/kb/HT2956
    Dennis
    +Message was edited by: den.thed+
    +Sorry inandoutofgrace I didn't see your reply, I'm just getting real slow in my old age.+

  • Connecting two networks with two internet connections

    Hi All
    The situation is this. Two firms situated next door to each other and linked by their businesses and by their family ties, wish to connect their two networks together. They both have internet connections. The reason is for security, in the event of one internet going down they can use the other one.
    As I see it, we could use a wireless bridge/repeater to connect the two ethernets together, turn off DHCP in both networks, and manually configure the IP addresses on one network to say 192.168.1.1 to 192.168.1.100 and set the gateway as the router address in that network, again manually allocated. Then on the other network set the scope to 192.168.1.101 to 192.168.1.200 with the router on that network set in this range.
    In the event of failure of one internet connection, it would just require the gateway to be changed for those pcs to access the router on the other network.  I know of a little program which would do that automatically.
    Would this work? If so which Linksys equipment would I need to bridge the two networks. I know some equipment will do the bridging and allow wireless clients to connect, so that would be useful, I know it slows it down by half, but this might be acceptable.
    Will there be other problems rearing their ugly heads which I haven't considered.
    The networks are not large, so manual IP configuration is not a problem.
    Thanks

    I presume both networks are using wireless connections.  If you can see your neighbour's network on your computer and vice versa, all you need is the passphrase to connect.  You may have to disable filter mac address in your router. 
    Greetings from Northern Ontario, Canada

  • How to connect two JComponents with line

    Hi,
    I have GUI which draws different shapes(ovals, rectangles etc) as JComponants on a JPanel . I need to be able to select by clicking a JComponant and connect it to another JComponant on the JPanel. Once I haved established a connection I would like to be able to move the connected JComponants yet maintain the connection. Can you please look at my code and advise as to how this can be achieved.
    Thanks.
    LineSelector selector = new LineSelector(windowPanel);
    windowPanel.addMouseListener(selector);
    class windowPanel extends JPanel
    ArrayList lines;
    public windowPanel()
    lines = new ArrayList();
    protected void paintComponent(Graphics g)
    super.paintComponent(g);
    Graphics2D g2 = (Graphics2D)g;
    g2.setColor(Color.white);
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    for(int j = 0; j < lines.size(); j++)
    g2.draw((Line2D) lines.get(j));
    protected void addConnectingLine(Component c1, Component c2)
    Rectangle r1 = c1.getBounds();
    Rectangle r2 = c2.getBounds();
    lines.add(new Line2D.Double(r1.getCenterX(), r1.getCenterY(),
    r2.getCenterX(), r2.getCenterY()));
    repaint();
    class LineSelector extends MouseAdapter
    windowPanel conPanel;
    Component firstSelection;
    boolean firstComponentSelected;
    public LineSelector(windowPanel cp)
    conPanel = cp;
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    Component[] c = conPanel.getComponents();
    Rectangle rv = new Rectangle();
    for(int j = 0; j < c.length; j++)
    c[j].getBounds(rv);
    if(rv.contains(p))
    if(firstComponentSelected)
    conPanel.addConnectingLine(c[j], firstSelection);
    firstComponentSelected = false;
    else
    firstSelection = c[j];
    firstComponentSelected = true;
    break;
    }

    Hi,
    these threads can help you
    http://forum.java.sun.com/thread.jspa?threadID=488823&messageID=2292924
    http://forum.java.sun.com/thread.jspa?forumID=20&threadID=607264
    L.P.

  • Connecting two macs with afp

    Both a friend and I got brand new Mac Book Pros for college but he is going to a different college so were trying to get it set up so that we can transfer files between each other and access each other's computers. I started toying with afp but have been unable to get it to work even after checking my sharing settings. On another point I have thought about creating a VPN but have soon come too realize that that could be more complicated to setup and use. Can anyone see a problem, a I missing something?

    Hi RustyBoltz,
    Welcome to the forum.
    You'll both need to forward (map) port 548 in your respective routers to the internal IP of your respective Macs. Port 548 is the Apple Filing Protcol (AFP) over TCP port. Forwarding it to a computer's internal IP enables a remote user to simply click on the Go menu in the Finder menubar, select Connect to Server..., enter the ISP assigned IP address (if not known can be found by going to www.whatismyip.com) and then, after entering their username/password be able to access the files on the remote Mac and upload/download files.
    Alternatively, you can use an online server like .Mac to upload files to a Public folder that can be accessed by both of you.
    Kryten

  • Connecting two computers with two routes?

    Yes, can I hook up two computers, each with a different router on one phone line?  I hope this makes sense.  I have one main computer hooked up to a wireless/wired router and the one in another room I want to hook up to the internet also.  Do I need another router for that other computer?  The distance on the wireless does not reach to the other computer.

    Here are my educated guess(es) :
    Perhaps you could..
    #1 use a wireless extender?
    #2 use a wireless bridge?
    #3 convert the second router into a hub/switch/wap?
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Connecting two networks with wireless bridges

    Hello all,
    We are trying to create a true CAN. We have 2 sets of 2 buildings each. One set is on the 172.23.x.x network and the other set is on the 172.25.x.x network. Each set has routing in place to go out over their respective MPLS circuits (which will be removed once this project is done). Each set also has their own vtp domain each containing ~30 vlans.
    Right now, there is a wireless bridge at each set of buildings and they can reach each other fine according to the vendor. I am trying to figure out an efficient way to tie these two networks together keeping their current vlan and local topology in place.
    Site 1:
    Vlan 1: 172.23.1.x
    Wireless bridge: 172.25.1.x
    Site 2:
    Vlan 1: 172.25.1.x
    Wireless bridge: 172.25.1.x
    Any help is appreciated. The idea is that all traffic from site two will now traverse the wireless bridge and use all resources and routing available at site 1.

    OK wel now the only solution left for you re-designing the IP addressing or if you want same  ip address either increase the scope or range of ip address per vlan or use DHCP server to provid Half the address to both sides. but the interface connecting interface must be a Layer 3 or Layer 2 ports.The only concern should be DHCP server vlan over lapping can be manage by Configuing VTP (Client/Server) .
              (Switch) ====wireless------------------wireless====(switch)
             Trunk (Layer2 port)                                                 Trunk (Layer2 port)
    and for vlan just if one dhcp server  nothign to worry  and incase of multiple server just load balance it will also provide the reduncency in you network.
    other option is simple using L3 approach and change the ip address only for resourches you want other people to access.

Maybe you are looking for