How to connect two desktop computers to share processing power

is there a way to link two computers together to share their processing ablility?
And if there is a way can I connect to share it wirelessly?
Also is it possible on both Mac and PC?

No, to all 3, especially the middle one.

Similar Messages

  • How to connect two computers

    please help me
    how to connect two computers through telephone line

    Double Post. See:
    http://forum.java.sun.com/thread.jspa?threadID=770305&tstart=0

  • Hibernate query...how to connect two databases...

    hi i m new to hibernate..
    i created two tables..
    1st table is catalog:
    2nd table is acctinfo
    //HBM file is :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
    <class name="hibernate.example.Catalog" table="catalog">
    <id name="id" type="integer" column="ID">
    <generator class="increment"/>
    </id>
    <property name="journal" type="string" column="JOURNAL"/>
    <property name="publisher" type="string" column="PUBLISHER"/>
    <property name="edition" type="string" column="EDITION"/>
    <property name="title" type="string" column="TITLE"/>
    <property name="author" type="string" column="AUTHOR"/>
    <bag name="accinfo" cascade="all" >
    <key column="ID"/>
    <one-to-many class="hibernate.example.Acctinfo"/>
    </bag>
    </class>
    <class name="hibernate.example.Acctinfo" table="acctinfo">
    <id name="id" type="integer" column="ID">
    <generator class="increment"/>
    </id>
    <property name="account" type="string" column="ACCOUNT"/>
    <property name="password" type="string" column="PASSWORD"/>
    <property name="balance" type="string" column="BALANCE"/>
    </class>
    </hibernate-mapping>
    ///******************getter setter file is::****************
    package hibernate.example;
    public class Acctinfo
         int id;
         String account;
         String password;
         String balance;
         public Acctinfo()
         public void setId(int id)
              this.id = id;
         public int getId()
              return id;
         public void setAccount(String account)
              this.account = account;
         public void setPassword(String password)
              this.password = password;
         public void setBalance(String balance)
              this.balance = balance;
         public String getAccount()
              return account;
         public String getBalance()
              return balance;
         public String getPassword()
              return password;
    //********************2nd getter setter file is:***********************
    package hibernate.example;
    import java.util.List;
    public class Catalog
    int id;
    String journal;
    String publisher;
    String edition;
    String title;
    String author;
    private List accinfo;
    public Catalog()
    public void setId(int id)
    this.id = id;
    public int getId()
    return id;
    public void setJournal(String journal)
    this.journal = journal;
    public String getJournal()
    return journal;
    public void setPublisher(String publisher)
    this.publisher = publisher;
    public String getPublisher()
    return publisher;
    public void setEdition(String edition)
    this.edition = edition;
    public String getEdition()
    return edition;
    public void setTitle(String title)
    this.title = title;
    public String getTitle()
    return title;
    public void setAuthor(String author)
    this.author = author;
    public String getAuthor()
    return author;
    public void setAccinfo(List accinfo)
    this.accinfo = accinfo;
    public List getAccinfo()
    return accinfo;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package hibernate.example;
    import hibernate.example.Acctinfo;
    import hibernate.example.Catalog;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import org.hibernate.Query;
    import org.hibernate.SQLQuery;
    import org.hibernate.Session;
    import org.hibernate.SessionFactory;
    import org.hibernate.Transaction;
    import org.hibernate.cfg.Configuration;
    public class CatalogClient
         Session session = null;
         SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
         public static void main(String str[])
              CatalogClient clc = new CatalogClient();
              //clc.saveData();
              //clc.deleteData();
              //clc.showData();
              clc.updateData();
         public void showData()
              try
                   session =sessionFactory.openSession();
                   String SQL_QUERY ="select id, journal, publisher, edition, title, author from catalog";
                   // String SQL_QUERY ="select c.ID, c.JOURNAL, c.PUBLISHER, c.EDITION, c.TITLE, c.AUTHOR, a.ACCOUNT, a.PASSWORD,a.BALANCE from catalog c, ACCTINFO a where c.ID = a.ID";
                   SQLQuery query = session.createSQLQuery(SQL_QUERY);
                   System.out.println("*** query : *** "+ query);
                   //for(ListIterator it=query.list().listIterator();it.hasNext();)
                   for (ListIterator lit = query.list().listIterator(); lit.hasNext();)
                        Object[] row = (Object[]) lit.next();
                        /*System.out.println("ID: " + row[0]);
                        System.out.println("Title: " + row[1]);
                        System.out.println("Author: " + row[2]);
                        System.out.println("Isbn: " + row[3]);
                        System.out.println("Pages: " + row[4]);
                        System.out.println("Copyright: " + row[5]);
                        System.out.println("Cost: " + row[6]);
                        System.out.println("******NEXT****************");
    Object[] row = (Object[]) it.next();*/
                        System.out.println("ID: " + row[0]);
                        System.out.println("JOURNAL: " + row[1]);
                        System.out.println("PUBLISHER: " + row[2]);
                        System.out.println("EDITION: " + row[3]);
                        System.out.println("TITLE: " + row[4]);
                        System.out.println("AUTHOR: " + row[5]);
                        System.out.println("acc: " + row[6]);
                        System.out.println("pass: " + row[7]);
                        System.out.println("bal: " + row[8]);
                        System.out.println("***************************");
                   session.close();
              catch(Exception e)
                   System.out.println(e.getMessage());
         public void saveData()
              session =sessionFactory.openSession();
              Transaction transaction = null;
              transaction = session.beginTransaction();
              Catalog catalog = setBean();
              //System.out.println("before save");
              session.save(catalog);
              //System.out.println("after save");
              transaction.commit();
              session.flush();
              session.close();
         public void updateData()
              session =sessionFactory.openSession();
              Catalog catalog = new Catalog();
              catalog.setId(2);
              catalog.setAuthor("manoj");
              catalog.setJournal("java");
              catalog.setEdition("1st");
              catalog.setPublisher("indiabulls");
              catalog.setTitle("java Servlet");
              session.update(catalog);
              session.flush();
              session.close();
         public void deleteData()
              session =sessionFactory.openSession();
              Catalog catalog = new Catalog();
              catalog.setId(3);
              session.delete(catalog);
              session.flush();
              session.close();
         public static Catalog setBean()
              Acctinfo accinfo = new Acctinfo();
              accinfo.setAccount("MANOJ1");
              accinfo.setPassword("orbis");
              accinfo.setBalance("1000");
              List list = new ArrayList();
              list.add(accinfo);
              Catalog catalog = new Catalog();
              catalog.setJournal("india");
              catalog.setPublisher("indiabulls");
              catalog.setEdition("ist");
              catalog.setTitle("orbis");
              catalog.setAuthor("manoj");
              catalog.setAccinfo(list);
              return catalog;
    //********************CFG FILE IS ******************
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
    <session-factory name="session">
    <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
    <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
    <property name="hibernate.connection.url">jdbc:oracle:thin:@172.16.31.25:1521:BOMBAY</property>
    <property name="hibernate.connection.username">mumbai</property>
    <property name="hibernate.connection.password">mumbai123</property>
    <!-- Set AutoCommit to true -->
    <property name="connection.autocommit">true</property>
    <property name="dialect">org.hibernate.dialect.OracleDialect</property>
    <!-- Mapping files -->
    <mapping resource="Catalog.hbm.xml"/>
    </session-factory>
    </hibernate-configuration>
    **********************error i m facing is :************************
    0 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Documents%20and%20Settings/d.poonam/Desktop/hibernate/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
    1188 [main] WARN org.hibernate.impl.SessionFactoryObjectFactory - Could not bind factory to JNDI
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getNameParser(Unknown Source)
         at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
         at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:247)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
         at hibernate.example.CatalogClient.<init>(CatalogClient.java:24)
         at hibernate.example.CatalogClient.main(CatalogClient.java:27)
    please help me out....
    thanks in advance..
    if u know how to connect two tables plz let me know..
    its urgent....

    I made this work with MySQL. Adapt to your situation as needed. - %
    package hibernate.model;
    import hibernate.util.HibernateUtils;
    import hibernate.model.Catalog;
    import hibernate.model.Account;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.hibernate.Session;
    import hibernate.util.HibernateUtils;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    public class CatalogTest
       private static final Log LOGGER = LogFactory.getLog(CatalogTest.class);
       public static void main(String[] args)
          Session session = null;
          try
             session = HibernateUtils.getSessionFactory().getCurrentSession();
             session.beginTransaction();
             int rowsBefore = HibernateUtils.getRowCount(session, Catalog.class);
             assertEquals("should not have any Catalogs", rowsBefore, 0);
             Catalog catalog = new Catalog("test title");
             catalog.addAccount(new Account(100));
             catalog.addAccount(new Account(200));
             Long id = (Long) session.save(catalog);
             assertNotNull("generated id should not be null", id);
             LOGGER.info("returned id: " + id);
             session.getTransaction().commit();
             LOGGER.debug("transaction committed");
          catch (Exception e)
             LOGGER.error(e);
             session.getTransaction().rollback();
    package hibernate.model;
    import java.io.Serializable;
    import java.text.NumberFormat;
    public class Account implements Serializable
       private Long id;
       private int balance;
       public Account()
          this(null, 0);
       public Account(int balance)
          this(null, balance);
       public Account(Long id, int balance)
          this.id = id;
          this.balance = balance;
       public Long getId()
          return id;
       private void setId(Long id)
          this.id = id;
       public int getBalance()
          return balance;
       private void setBalance(int balance)
          this.balance = balance;
       public boolean equals(Object o)
          if (this == o)
             return true;
          if (!(o instanceof Account))
             return false;
          Account account = (Account) o;
          return !(id != null ? !id.equals(account.id) : account.id != null);
       public int hashCode()
          int result;
          result = (id != null ? id.hashCode() : 0);
          result = 31 * result + balance;
          return result;
       public String toString()
          return new StringBuilder().append("Account{").append("id=").append(id).append(", balance=").append(NumberFormat.getCurrencyInstance().format(balance)).append('}').toString();
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
          "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="hibernate.model" default-access="field" default-lazy="true">
       <class name="Account" table="accounts">
          <id name="id" column="account_id">
             <generator class="native"/>
          </id>
          <property name="balance" column="balance"/>
       </class>
    </hibernate-mapping>
    package hibernate.model;
    import java.io.Serializable;
    import java.util.Set;
    import java.util.HashSet;
    import java.util.Collections;
    public class Catalog implements Serializable
       private Long id;
       private String title;
       private Set<Account> accounts;
       public Catalog()
          this(null, "", Collections.EMPTY_SET);
       public Catalog(String title)
          this(null, title, Collections.EMPTY_SET);
       public Catalog(Long id, String title, Set<Account> accounts)
          this.id = id;
          this.title = title;
          this.accounts = new HashSet<Account>(accounts);
       public Long getId()
          return id;
       private void setId(Long id)
          this.id = id;
       public String getTitle()
          return title;
       private void setTitle(String title)
          this.title = title;
       public Set<Account> getAccounts()
          return accounts;
       private void setAccounts(Set<Account> accounts)
          this.accounts = accounts;
       public void addAccount(Account account)
          this.getAccounts().add(account);
       public void removeAccount(Account account)
          this.getAccounts().remove(account);
       public boolean equals(Object o)
          if (this == o)
             return true;
          if (!(o instanceof Catalog))
             return false;
          Catalog catalog = (Catalog) o;
          return !(id != null ? !id.equals(catalog.id) : catalog.id != null);
       public int hashCode()
          return (id != null ? id.hashCode() : 0);
       public String toString()
          return new StringBuilder().append("Catalog{").append("id=").append(id).append(", title='").append(title).append('\'').append(", accounts=").append(accounts).append('}').toString();
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
          "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
          "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping package="hibernate.model" default-access="field" default-lazy="true">
       <class name="Catalog" table="catalogs">
          <id name="id" column="catalog_id">
             <generator class="native"/>
          </id>
          <property name="title" column="title"/>
          <set name="accounts" cascade="all">
             <key column="catalog_id"/>
             <one-to-many class="hibernate.model.Account"/>
          </set>
       </class>
    </hibernate-mapping>
    <!DOCTYPE hibernate-configuration PUBLIC
         "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
         <session-factory>
          <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
          <property name="connection.url">jdbc:mysql://localhost:3306/hibernate?autoReconnect=true</property>
          <property name="connection.username">hibernate</property>
          <property name="connection.password">hibernate</property>
          <property name="connection.pool_size">1</property>
          <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
          <property name="show_sql">true</property>
          <property name="generate_statistics">true</property>
          <property name="query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
          <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
          <property name="cache.use_minimal_puts">false</property>
          <property name="cache.use_query_cache">false</property>
          <property name="order_updates">false</property>
          <property name="hbm2ddl.auto">create-drop</property>
          <property name="current_session_context_class">thread</property>
          <mapping resource="hibernate/persistence/hibernate/Account.hbm.xml"/>
          <mapping resource="hibernate/persistence/hibernate/Catalog.hbm.xml"/>
         </session-factory>
    </hibernate-configuration>

  • How to connect two external monitors to a Mac Book Pro?

    How to connect two external monitors to a Mac Book Pro?

    Not as is, but  Matrox makes a peripheral that enables connecting more than one external monitor - matrox.com.

  • How to connect to Azure Files (preview) share?

    I enabled Azure Files preview. 
    I follow this article: http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx
    I created new storage account called loremipsum. Using powershell, I created new storage share called loremipsum-01. Called
    New-AzureStorageDirectory command to test create directory. It succeeded.
    I went to command prompt and called this command:
    net use z: \\loremipsum.file.core.windows.net\loremipsum-01 /u:loremipsum blablablablablablamyaccesskey==
    Result:
    System error 64.
    Network name is undefined.
    How should I connect to this share, so I can use it as mapped folder in explorer?

    Answer here:
    http://stackoverflow.com/questions/26820246/how-to-connect-to-azure-files-preview-share :)

  • How to connect two iMacs to the same FCE project?

    Hello All,
    Right now I have an iMac that is about 1 year old. I'm about to purchase another iMac. What I want to do is run FCE on both and work on the same video project on both. Is this possible?
    So the idea would be that I one person A could color correct and person B could edit and perform other functions on the second iMac. Can you hook them up by firewire and do this or is this beyond what you can do with FCE and two iMacs?
    Thanks for your help.
    Mike

    Hello Michael,
    First, you will need two fully licensed copies of FCE, one for each iMac. Each license allows you to install FCE on 1 Apple desktop + 1 Apple laptop as long as you own both computers and do not use FCE on both at the same time. But it *does not* allow you to install it on 2 Apple desktop computers (eg iMacs).
    Second, in order for two people on different computers to access the same project, you would have to store all the media & scratch files in a common location, and set up each copy of FCE to access the files from that location. The problems with this approach are 1) FCE cannot do this over a network, 2) you cannot connect an external FW drive to both computers at the same time, 3) FCE prefers that your FCE Project file(s) be on your system HD.
    You could use an external FW drive to store your media & scratch files; then connect the FW drive to the computer that is going to work on the project - but not to 2 computers at the same time. You will still have to copy the FCE project file between the two iMacs each time you swap from one to the other for editing.

  • Connecting Two Desktop Macs

    I have two desktop macs in my home one upstairs in a bedroom and the other downstairs in a living room. Neither have a airport card but I do have two routers. I have a broadband connection coming via my phone landline.I am able to connect either to the net individually but cannot have both connected at the same time.
    So now to my question. Is is posible to have both running simulataneously and to have them linked for backup purposes.
    What do I need to do or is this possible by bridging my router?

    I have a router connected to each mac and both are going into phone sockets in their respective rooms. I do not want to have a long eternet cable connecting both to the same router. The prefered option is two seperate routers that can run simultaneously and also one mac to be able to see the other over the net. The broadband package that I have with my ISP does not give me a static IP address if that makes any difference. So want I need is both routers linked that they can see each other and be connected at the same time. Any suggestions on how to do this would be appreciated.

  • How to connect my desktop to my tv

    Can anyone direct me to a tutorial on how to connect my Pavilion Slimline s3120n to my HD tv?
    The computer came with the  built -in TV tuner card and various cables. I would like to watch the free Netflix "watch it now" movies on my big tv screen rather than my 19" computer monitor.
    Thanks for your help.

    Well, I looked into your tv tuner, and you can use S-Video for video and your audio cable, that should've came with the computer, to convert the headphone jack to audio Left and Right. The quality of that cable is going to be not very good so you may want to just get a dvd player and hook it up to the tv instead. Just letting you know of your options. ^_^;
    worked with HP employee for 2 years. Freelance tech support for 11 years.

  • How do  connect two iPods at once.

    Hello, I have two iPods that I connect to one computer (1 a 5th gen ipod, and 1 a 4th gen ipod).
    I can only ever connect one of the two iPod's. When ever I try and connect a 2nd iPod, iTunes disconnects the 1st iPod, and only shows the 2nd iPod, and this then gives a windows error on the 1st iPod.
    Has anyone ever been able to connect two iPods at once in itunes for Windows?

    i have the same problem. With one ipod and another ipod nano, the itunes doesnt works, and need to restart it.

  • Two desktop computers - one constantly looses wireless connection

    Hi,
    I have a Linksys Wireless-G Broadband Router with Speedbooster (model WRT54GS) for use with a cable modem.  I have two Dell Desktops, both with Linksys Wireless-G PCI with SpeedBooster Cards.  One desktop works perfect with the network, the other constantly loses its connection. Signal strength on both are good, both computers are relatively new (the one with problems is ~ 1 yr old).    I either have to 'repair' the connection or reboot.  It will stay connected for various lengths of time (sometimes a minute, sometimes 10 minutes!).  If i click on the 'Wireless Network Connection' icon, it will often show 'Connected' to my network, but the button in the corner shows 'Connect' (shouldn't it say 'Disconnect?).
    Any help is appreciated!
    Thanks

    Surely, the router is working since one wireless pc is working already. You could focus more on the adapter. Since it has been a year already, you could try to update the driver of your nonworking adapter.

  • How to connect two computers in one room to a router in a 2nd room?

    I have a Linksys modem and WRT54G router in an entry panel in my laundry room.  I have newer house with cat5 cables connected from the router to computers in various rooms.  In the room that we use as an office, we want to connect a 2nd computer to the network, but there is only one ethernet jack on the wall and that jack is used for the first (existing) computer in the room.   I don't want to use a wireless connection for 2nd computer. 
    How do I connect the 2nd computer to network?  Do I connect both computers to a hub in the office and connect the hub to the ethernet jact on the wall?

    castor wrote:
    HI...
    You can definitely connect a HUB or a switch to the Wall jack and then connect the computer to the other ethernet port of the device. Make sure that the cable from the router is connected to any one of the ethernet port and not the uplink port.
    "Make sure that the cable from the router is connected to any one of the ethernet port and not the uplink port."
    So just for my clarification "You can definitely connect a HUB or a switch to the Wall jack"
    Witch port should one use? Till now I thought one should connect the wall jack to the uplink port and the 2 computers to the other ports on the switch or hub?

  • How to : connect two routers running under another

    So this issue is tricky and i have had no luck in getting this to work. Basically what i need to do, is connect "Network 2" with "Network 1" and both run off of another larger network. The Base Network is out of my control and i cannot set or change any setting within that network's routers or DHCP Servers. Thus i am forced to set routes within my routers to communicate to each other. The need for this communication is software that runs on a server within "Network 1" needs to be available to all client computers running on both "Network 1" and 'Network 2". Obviously the computers running off the same router as the server are fine. Getting the computers running off the router for "Network 2" is the tricky part. Here is a link to a diagram of the setup : http://i64.photobucket.com/albums/h176/m4x70r/networkquery.jpg Some of the things i have tried are setting the DMZ on "Network 1" to point at the server. Setting routes in both to point at the other. Setting the Gateway in "Network 2" router to point at the WAN address of "Network 1" and setting the DNS of "Network 2" to the WAN of "Network 1". No matter what i do, the laptops inside "Network 2" cannot ping the laptops in "Network 1" or even ping the router for "Network 1". However, when pinging the name of the server, it does show the IP addy i gave it, so it sees it in some small fashion but cannot link to it. I'm stumped. Time to get a networking cert i suppose. Any help or suggestions would be much appreciated!

    First you have missed to mentioned the most important thing for your setup: are those two routers running in gateway mode or router mode?
    It is also quite confusing which routes you tried to set exactly. (in particular why you mentioned the DNS server?). Please simply post the exact settings of the routes you have entered on either routers.
    As you have mentioned that you have no control over the main network I guess your routers operate in gateway mode. In that case they do NAT - network address translation. NAT shares a single public IP address with multiple computers with private IP addresses inside the LAN. NAT makes computers in the LAN inaccessible from the outside unless you have configured an explicit port forwarding or DMZ host.
    Moreover, with NAT you cannot access the computers inside the LAN on an inside IP address. This is impossible because the private IP addresses inside the LAN are not visible on the outside. You can only access any computer on the WAN IP address of the router. You cannot ping any computer inside the LAN behind the router with NAT. UDP or TCP access is limited to what you forward. The DMZ host is the "default" forward which gets all ports which are not forwarded otherwise.
    If both routers are in gateway mode you don't have to define any routes on the routers as the destination subnet is not accessible. To make your server accessible you have to define port forwardings to your server on 192.168.1.2 or put it into the DMZ. You can then access the server the external IP address of the router, i.e. 10.7.2.101. The router forwards incoming traffic on that address to your server at 192.168.1.2.

  • How to connect a Desktop app to a middle teir server app?

    Please tell me if i have posted this in the incorrect forum.
    I currently have a Desktop app that connects directly to a mySQL database. The persistence abilities have been really helpful since our database is still evolving. I have been frustrated by the differences in the SE persistence implementation. I have had to do some hackish things to ensure that the app retrieves the current information. I don't like connecting directly to the database from the desktop app, even though security is not a worry. I have been thinking that the best solution is to have a JEE app running that the desktop app connects to. This also would act as a sort of api for accessing our data, so if and when i create other client desktop apps i don't have to recreate the wheel. From what i gather i will want to run an application server such as tomcat or glassfish. I'm not sure if i understand why though. Since i have control of the server, couldn't i directly open ports for communication to the clients?
    Assuming that there are many ways to pass information between them, advice on the most effective would be nice. I'm guessing serializing objects for passing would be the fastest, but using something like XML, would be a lot easier to monitor.
    Although i have done a lot of reading, i'm still baffled by the EE lingo.
    EJB: kind of like a modular program that facilitates server to server communication?
    JSF: package up stuff for viewing/ running an application through a browser?
    Servlets: Mystifying, which leads me to think that they are what i'm looking for.
    Any advice would be helpful. I'm hoping that there is not some type of restriction in regards to connecting a JSE6 app to a JEE6 app. I basically want to have the best of both worlds.
    Thank you,
    Chip

    Chipper wrote:
    From what i gather i will want to run an application server such as tomcat or glassfish. I'm not sure if i understand why though.If you have a middle teir, you imply that you want frontend and a backend also, the function of the middle teir is to insolate and abstract the backend from the frontend. This is the significant difference from what you have now: client server--frontend and a backend.
    The middle tier, as you have implied, is where you put your access to your backend. And, yes, you are creating an interface to your DB there, wherein you will develop an entire API for accessing your DB. This will give you added security by not letting your clients know anything about your backend.
    Now, how do you access this middle tier? There are several options there, but a few options are:
    1 - Running direct socket communication
    2 - Web Services: code ran on the server to extend the functionality and open services on the middle tier.
    3 - Applets: code ran in the browser on client side to access the server and it's services.
    Assuming that there are many ways to pass information between them, advice on the most effective would be nice. I'm guessing serializing objects for passing would be the fastest, but using something like XML, would be a lot easier to monitor.At this point you are the only one that can answer that question: there are arguments for an against most method that could be picked. Let's take for instance an object that contains 1 usable byte of data. Is it better to serialize the object for that one byte? Send XML to a DB? Or, perhaps, just send the byte of info and synthesize appropriate key information? You have to look at what you are trying to achieve and your requirements.
    Even a scratch of the surface discussion is not possible here, let alone, a howto on implementation for your enterprise. I suggest hitting the tutorials and finding a good book.
    Do you have specific questions? Ones that can be answered in a paragraph or two.

  • How to connect to desktop mac using iPhone. File sharing, ScreenSharing???

    Can you please explain how can I connect to my desktop using my iPhone like ScreenSharing will do or file sharing.
    Please describe step be step how to?
    Thank you,
    A new iPhone user who want to get the most out of it

    If by it you mean Mocha VNC, that is how it works. You can connect when you are not on your network but you will have to enable forwarding on you router if you have one.
    What is it tha you want to do remotly?
    This world of remote management is that of the IT tech. Mocha is for techs and people that get the technology they are using or are interested in getting it. It is not plug and play stuff. You have to be willing to learn a bit and then with that comes a lot of power.
    If you just want to turn it on and have it work anywhere you won't find that. The reason ports are blocked form the internet is to protect your computers from someone else doing exactly what you are trying.
    So if you want you can enable port forwarding for port 5900 on your router. The IP address VNC Mocha will need is now the IP address of your router. Create a second connection on the list in Mocha for this connection as it is different than the one that will work on your network. Your router will forward anything on that port to you computer. I have successfully done this. It isn't very fast i will say. The screen refresh is very slow. You need patience to get anything done. I needed a file from a PC i had at home. It took about 15 minutes to get that file moved on to my iDisk through running Firefox on the PC from several towns away using Mocha. I might have been on a slow internet connection too.

  • How to connect two monitors using macbook pro?

    Hi,
    I have a Macbook Pro through which I want to extend the displays to two individual monitors.
    The two monitors should show two different windows which is opened through my macbook.
    I have observed that macbook has only one mini display port through which I connect to HDMI or to DVI ports in monitor.
    So how do I connect another monitor source to my macbook, which ports can help in this situation?
    The monitors I have which can supports HDMI,DVI,VGA and DP ports.
    Could anyone help me on this issue.
    Thanks.

    You can use a USB 2.0/3.0 to HDMI/DVI interface.  You might also consder Thundebolt to HDMI/DVI.
    The MBP 13" will support three screens (two external) and the MBP 15" will support four screen (three external).

Maybe you are looking for