Started with a networks project,needed some basic help.. (Newbie)

Hi all,
Im planning on writing an app that will communicate with my server and a telecom gateway... Which will send and recieve data...
Im a beginner to java itself and have taken this up as a project.
I would like to know what needs to be learnt(Im familiar with OO concept and have done a bit on java for now, but not this extent.)
Primarily I will be dealing with mulit-threading and so on.
Could you please point me out to some details...
If this info is not sufficient ,I'll provide more.
Regards

You will find that google is very useful if you are getting started.
[http://www.google.co.uk/search?q=java+tutorial+networking]
[http://www.google.co.uk/search?q=java+examples+networking]
[http://www.google.co.uk/search?q=java+tutorial+threading]
[http://www.google.co.uk/search?q=java+examples+threading]
If you have question, try searching for it as the question will have been asked before.

Similar Messages

  • I need some basic help with Email setup

    Hello, I ve just been connected to infinity and I m trying to setup a few email addresses but the BT yahoo system is confusing me.
    I managed to create a new email (sub account) for my wife but I m struggling with finding a way to have a couple more for myself. Do I really need to make a sub account for each email?
    The default email has my name and surname in it which is not something I generally use for that purpose, I would only use that one for close friends and family, I would like to setup another one for general use and one for when there is a likelyhood it ll get a lot of spam.
    The way to add extra emails is usually very simple (with previous isps) , login to "manage my account" and choose username and password then enter the details in outlook express.
    With BT I m having to deal with the Yahoo thingy, which does a lot of more than just emails but at this time I have interest in it at all.
    1 - I would simply like to setup a few emails to use with outlook express, what is the best way to achieve that ?
    2 - The yahoo email seems to be part of a network like facebook, as I  don t intend to use that side of it I would prefer not to have my personal details associated with a profile that I do not  need . It seems to be for public viewing by default.
    Can I set up and use my emails without having an online profile for yahoo?
    How do i keep my details offline (not publicly viewable in yahoo)?
    thanks.

    yes!
    you get one prime email address. the one you agreed to and the one to set up your bt mail, it was in letter confirming bt set up. (order ref)
    for more for yourself, or anybody else,  its got to be sub. up to ten for INF2
    I have set up 4 sub accounts with different names, etc. but use the same password for all 5 .
    I then had them set up with outlook express, there is a bt prog to do this. look on site.
    Then I use incredimail as my final mail client, this also has a prog to set up from outlook express.
    so all my mail to and from me ends up in incredimail with my 4 sub accounts, using one as my prime.
    my bt prime I do not use, as it is my full name.
    so far so good, just a bit slow finding its way, like you my previous ISP (tesco) was less complicated, but slow copper wire.
    good luck
    Ronin22
    In the end we will all be star dust.
    Then start all over again.

  • Need some basic help with Acrobat and LiveCycle

    This is my first time using Acrobat and LiveCycle to design a form. Basically all I need is a title that is uneditable and underneath that I want to insert a text box so people can type in the box then print off the whole page with their comments. I can do all of that except the problem is when I insert the text box, the cursor is left justified but appears in the middle of the textbox. So when people start typing, there is a huge gap between the title and what they've typed. I want their typing to appear directly under the title. What am I doing wrong? See attached for a visual explanation. Thanks.

    You can have the text in the field top jusitied. This is controlled on the Font palette. Turn on the Font palette under the window menu. It usually will appear in the bottom right corner of the screen. Now highlight the field you want to adjust. Make usre the paragraph tab is slected. Click on the small dropdown arrow indictaed in yellow in the screen shot and select "Edit Value". Now click the top justification as indicated by the arroe in the csreen shot.
    Paul

  • Need some basic help with applets

    Hey all, I've never made an applet before and I'm having a small problem. Basically, when I load my applet, the GUI comes up on a separate window (doesn't load within the applet window). Here's my code:
    Here's the GUI class.
    import java.awt.BorderLayout;
    import java.io.File;
    import java.util.Vector;
    import javax.swing.DefaultComboBoxModel;
    import javax.swing.DefaultListModel;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTextField;
    import javax.swing.JTextPane;
    import javax.swing.ListModel;
    import javax.swing.WindowConstants;
    import javax.swing.SwingUtilities;
    * This code was edited or generated using CloudGarden's Jigloo
    * SWT/Swing GUI Builder, which is free for non-commercial
    * use. If Jigloo is being used commercially (ie, by a corporation,
    * company or business for any purpose whatever) then you
    * should purchase a license for each developer using Jigloo.
    * Please visit www.cloudgarden.com for details.
    * Use of Jigloo implies acceptance of these licensing terms.
    * A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
    * THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
    * LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
    public class GUI extends javax.swing.JFrame {
              //Set Look & Feel
              try {
                   javax.swing.UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              } catch(Exception e) {
                   e.printStackTrace();
         private JButton openB;
         private JButton oddsB;
         private JScrollPane jScrollPane1;
         private JList jList1;
         private JTextField fileText;
         private Vector<String> jList1Objects;
         * Auto-generated main method to display this JFrame
         /*public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        GUI inst = new GUI();
                        inst.setLocationRelativeTo(null);
                        inst.setVisible(true);
         public GUI() {
              super();
              initGUI();
         private void initGUI() {
              try {
                   setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                   getContentPane().setLayout(null);
                        //Text field for file entry
                        fileText = new JTextField();
                        getContentPane().add(fileText);
                        fileText.setBounds(0, 0, 279, 25);
                        //Scroll Pane and jList1
                        jScrollPane1 = new JScrollPane();
                        getContentPane().add(jScrollPane1);
                        jScrollPane1.setBounds(0, 25, 150, 328);
                             jList1Objects = new Vector<String>();
                             jList1 = new JList(jList1Objects);
                             jScrollPane1.setViewportView(jList1);
                        //Open button and Odds button
                        openB = new JButton();
                        oddsB = new JButton();
                        getContentPane().add(oddsB);
                        getContentPane().add(openB);
                        oddsB.setText("Calculate Odds");
                        oddsB.setBounds(679, 109, 105, 353);
                        openB.setText("Open File");
                        openB.setBounds(279, 0, 99, 25);
                        //Open Button action
                        openB.addActionListener(new java.awt.event.ActionListener() {
                             public void actionPerformed(java.awt.event.ActionEvent evt) {
                                  //Opens up hand history file to be read in
                                  JFileChooser fc = new JFileChooser();
                                  fc.setCurrentDirectory(new File("C:\\Program Files\\Full Tilt Poker\\HandHistory"));
                                  int returnVal = fc.showOpenDialog(getContentPane());     
                                  if(returnVal == JFileChooser.APPROVE_OPTION) {
                                       //Display file in text box
                                       fileText.setText(fc.getSelectedFile().toString());
                                       //TODO: Write function to read in file and add all Hands to jList1
                                       //Recompile jList1
                                       jList1Objects = new Vector<String>();
                                       jList1Objects.add(fc.getSelectedFile().toString());
                                       jList1 = new JList(jList1Objects);
                                       jScrollPane1.setViewportView(jList1);
                   pack();
                   setSize(800, 800);
              } catch (Exception e) {
                   e.printStackTrace();
    }Here's the class my HTML file calls:
    import java.applet.Applet;
    import javax.swing.JFrame;
    public class Main extends Applet{
         //Mainframe
         //JFrame f = new JFrame();
         public void init() {
              GUI inst = new GUI();
              inst.setLocationRelativeTo(null);
              inst.setVisible(true);
              //f.setContentPane(inst.getContentPane());
         public void start() {
            System.out.println("Starting...");
      public void stop() {
            System.out.println("Stopping...");
    }

    // <applet code='Main' width='400' height='200' ></applet>
    import javax.swing.*;
    public class Main extends JApplet{
        public void init() {
            GUI inst = new GUI();
            getContentPane().add(inst.getContentPane());
            validate();
        public void start() {
            System.out.println("Starting...");
        public void stop() {
            System.out.println("Stopping...");
    }Other notes:
    - You try to set the PLAF to Windows. which will not work on Linux and Mac (and if it did, the users would be screaming at you).
    - setLayout(null)/setBounds(int,int,int,int) is rubbish GUI development, it is fragile and will cause problems (especially if changing PLAFs)
    - Why did you not code this as a hybrid application/app?
    - The call to the JFileChooser will require a trusted applet, and it is pointing to the wrong place in seeking out the 'Program Files' directory, better to put configuration data/history data in a sub-dir or user.home.
    - This app. is much better suited to being deployed using Java Web Start. Forget the applet and use the frame, persistence can be obtained through the PersistenceService and that will side step both the application needing 'trust' and trying to find a suitable path for storing results of past games. JWS can launch the app. directly off the net, and provides auto-update and many other slick features.

  • I'm a newbie and need some basic help...

    I'm a newb trying to teach myself Director. I'm trying to
    make a menu and I'm having some problems....
    I have 3 main buttons. When you click one of the main
    buttons, 3 sub buttons pop up next to the button pressed. When one
    of those sub buttons is pressed, a box pops up to the right of the
    sub buttons and has a list inside containing links to movies. When
    one of the links is pressed i want the movie to take the place of
    the links in the box. When the movie is done playing it will
    disappear and show the links again.
    I uploaded what I have done here...
    http://www.lohrmandesign.com/uploads/Template.dir
    If you look at it, could you tell me what I've done
    correctly, and how I should go about implementing the rest of the
    menu? I imagine you have to use director movies within the main
    director movie, but I haven't figured out how to implement that. Or
    possibly use the .visible command? Thanks for any help...Online
    resources and examples are scarce for Director it seems.
    And I'm not sure if i have to upload all the pics for you to
    view my movie correctly, If I do, just let me know...

    quote:
    Originally posted by:
    Newsgroup User
    I haven't looked at your Director file, but what you want to
    do sounds
    pretty simple. First of all, though, can you clarify what you
    mean by
    "movie," because Director's terminology makes it kind of
    confusing. Are
    you speaking of a Director movie, or digital video?
    If you want to jump to a different Director movie, simply do
    something
    like this:
    on mouseUp me
    go to frame "StartMovie" of movie "Option1"
    end
    To get back to your menu, just use an exitFrame command at
    the end of
    the Director movie that takes you back there.
    If you're referring to starting a digital video, just put
    your video
    somewhere in the same Director file your menu is in, label it
    with a
    marker, and simply jump to that marker. Like this:
    on mouseUp me
    go to frame "Video1"
    end
    To get back to your menu at the end of the video do something
    like this:
    on exitFrame me
    if sprite(5).movieRate = 1 then
    go to the frame
    else
    go to frame "Menu"
    end if
    end
    Hope that helps.
    Sorry, I should have clarified...When you click on a sub
    category button, a Quicktime video will play, not a Director
    "movie"...Thanks for the help! using the method you described, that
    would make the menu disappear when the video is played, and reload
    the menu when the movie is done, right? I want the menu to stay
    visible while the movie is playing...

  • Complete Novice Needs Some Basic Help

    Hi!
    I'm sorry to clutter up the discussion with such basic questions, but what I want to do is get something from a cassette tape to my iPod. I'm told I can do this through GarageBand, and I have an audio cable that the guy in the Apple store said I would need. I'm not even sure where to plug this cable in. So any help in where I plug this in, or what I do next would be tremendously appreciated. If someone could even tell me where to look for help that would be great (when I look in GarageBand help its saying something about MIDIs and I don't even know what that is). Eternal gratitude for any help....

    Oh man, this is frustrating and I might give up soon!
    So in System Preferences, Sound I have 2 things,
    Internal Microphone (port is Built-in) and Line In
    (port is Audio line-in port). I can't seem to
    select one or the other, they're just there.
    Yeah, there is no "apply" or "OK" or anything like that. Just click on the Line-In so that it is highlighted and close the system preferences. That takes care of that. My PB G4 automatically detects when I plug in my line-in now that it is set up.
    Then in GB preferences, I only have the option of
    Built-in Audio, there is no other option.
    Built-In audio is correct in GB prefs.
    I also couldn't find where you were saying to
    double-click...what's the track header? I've clicked
    everything and can't find a monitor drop down menu
    option.
    The track header is the left-hand side of the track where there is a small speaker or instrument. For what you are doing, you need to create a new basic track. (Under "Track" in the menu bar, click "New Basic Track") You should have a new blue track that is labeled "No Effects." Double click on the speaker image and a dialog box will appear. Right in the middle of this box there are options for Input, Volume, and Monitor. You can turn on and off monitor abilities here.
    On the plus side, the connector I have seems to
    work...its male/male 1/8".
    Perfect.
    Thanks again and if you want to bail out, I
    completely understand!
    Hang in there. We were once all newbies to this digital recording stuff too.

  • Need some basic help -- my iTunes no longer plays all songs in my playlist

    I've created a holiday playlist, and for some reason iTunes will only play one song and then the music stops. I must manually press play to get the next song to play. The music also stops when I try to fast forward to the next song or back up and play the previous song. In either case, I can get the music going again by pressing play, but again iTunes will only play that one song.
    I've got checks next to every song in the list. I've been toggling repeat and shuffle on and off with no luck.
    FYI...I'm having no trouble with my other playlists. This is especially frustrating since my parents aren't interested in listening to my other music -- only the holiday tunes.
    Would appreciate anyone's suggestions for how to resolve.

    Solved it. Hold down option (alt) while launching iTunes, and it asks to locate the iTunes library. Point it at the file called "iTunes library". All is back where it belongs. Apparently pointing to it in the Advanced tab wasn't enough.

  • I am trying to connect to my Wifi Network. It is a Galaxy Nexus. I am trying to connect to this Hotspot. I have an iMac that works fine with my network but for some reason with this computer I cannot connect.

    So far I have pulled the system configuration file, I have reset safari, I deleted all old passwords from the wifi network in Keychain I restarted both devices. I am at the end here and I cannot get it to work I have an iMac that works fine with my network but for some reason this computer will not connect. It is system wide specifically to my personal hotspot. I can connect fine to any other network (wifi) but just not mine. I have not changed any wifi settings. I have been trying to figure this out. I have a MacBook Pro Late 2006 model running Lion (10.7.5) So any ideas anyone? Please help!

    12. At a WiFi hotspot, you can't get connected.  The most frequent reason is the login screen for the WiFi hotspot is only able to be connected with a single type of browser.  If Safari doesn't work, try Firefox, Chrome, Omniweb, or Opera. 
    From my tip:
    https://discussions.apple.com/docs/DOC-6411

  • Need some quick help - fairly urgent!

    I've just taken over a new job and have been the task of finishing the new brochure for Christmas, there's not a lot to do but a lot of the measurements need changing
    This is the layout I'm dealing with..
    All the boxes have been made in Illustrator
    The text has been done in In'Design and it seems every piece of text is it's own box if that makes sense
    My question is, if I select the whole specification box - copy, paste it into Adobe Illustrator and change the text there, then paste the edited box back into In-Design, will I lose quality when it gets printed?
    I'm worried if I do it this way it may come out blurred? Or am I just worrying about nothing?

    I couldn't find an Illy file in the end and have ended up creating tables in ID to replicate what was already there!
    Didn't take very long and I guess if I didn't do it now, I'd come across the same situation next time!
    Date: Wed, 30 Nov 2011 08:48:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Need some quick help - fairly urgent!
        Re: Need some quick help - fairly urgent!
        created by Peter Spier in InDesign - View the full discussion
    There certainly are viable "quick fix" solutions proposed here, and if the dealine is looming and this file never needs to be touched again I might be tempted, but they are only postponing the pain for a file that needs periodic updates, and I wouldn't waste effort on them, myself, when that time can be put toward a proper rebuild now if that's the ultimate goal.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4054725#4054725
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4054725#4054725. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in InDesign by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I have garagaband for iOs in my iPhone 4S, I connect my squire iOs guitarr to the iPhone, I select a Guitar Amp at the GB app then I Only can tune the guitar but I m not able to make the guitar ring with the amps. May some one help me?

    I have garagaband for iOs in my iPhone 4S, I connect my Squire iOs guitarr to the iPhone, I select a Guitar Amp at the GB app then I Only can tune the guitar but I m not able to make the guitar ring with the amps. May some one help me?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • I need some help adding music to my slideshow in iPhoto.  When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

  • Captivate 4 crashes while working with Power Builder projects..Can anyone help to solve this issue??

    Captivate 4 crashes while working with Power Builder projects..Can anyone help to solve this issue??

    Yes but there's no point doing it here. As the Terms of Use make quite clear this is a User to User forum. It's Users like you talking to other Users. It's not a channel to communicate with Apple.
    Regards
    TD

  • My G4 sometimes loses contact with softbank network, and reset doesn't help. I just wait.  What is wrong?

    My G4 sometimes loses contact with softbank network, and reset doesn't help. I just wait.  What is wrong?

    g4 sounds like a mac rather then an iphone is this in the correct forum?

  • Need Some Basics to go with IPC

    Hi,
    I am truing to get some knowledge on IPC, and I am not at all familiar with User Exits. I am going through this document. PricingUserexitManualV104.pdf, and it is really confusing, for a person who is not aware of user exits.
    Also lack of CRM knowledge is causing me trouble...
    So I am here for help...
    Can some one explain me these things...
    1. step/counter level
    2. condition access step level
    3. base value of a condition
    4. scale base value
    5. condition value
    6. pricing condition that can be fixed
    7. document copy
    And while going through types of user exits, I have the following doubts...
    What is the difference between Type A and Type C user exits? From the document, both are multiple active implementations, but Type A requires formula numbers for execution of userexit, and type B, we assign a dummy formula number....
    The doubt is what is the difference if both requires formula numbers, and if each userexit is considered as one formula, how do we assign formula number to userexit?
    It will be really helpful for me to go ahead with IPC... some one please help me with these doubts...
    Thanks and Regards,
    Chinnu

    Chinnu,
    pricing in CRM/IPC is very similar to pricing in ERP SD. You need to know the underlying concepts to be able to properly set up (or transfer) user exits.
    I suggesting starting with
    http://help.sap.com/saphelp_erp60/helpdata/en/dd/56168b545a11d1a7020000e829fd11/frameset.htm
    The IMG documentation might also be helpful.
    The number of user exits of scope A is not arbitrary, but relates to e.g. (type VAL) a formula number for a condition value in the pricing procedure. So the number is like an ID. For scope C, the numbers only define a sequence.
    Michael

  • Getting Started with Podcasting - need some direction/help

    hi,
    I need some information on how to get started Podcasting. Any good online resources, software, etc.
    I have looked at garageband3 on my iMac and it seems to be quite good, but what else is out there and does anyone have any tips or suggestions on getting started?
    Thanks in advance!!
    BCA

    I still have GB 2 so I don't know about GB's podcasting abilities (though some of the questions I see here suggest it's not all that wonderful).
    I use, and would recommend, Podcast Maker:
    http://www.potionfactory.com/podcastmaker/
    which is $29.95 and is available on a 30 day free trial.
    You make your podcast using GB or whatever program you want, and save it as an MP3 file. You then open it in Podcast Maker and add the summary and description fields, and if you want it to be an enhanced podcast you add chapters and the artwork. It will then upload it to your iDisk or the server of your choice, create the XML file, and ping the Apple Store if required. All this is seamless and easy to use.

Maybe you are looking for

  • In IE7 CLSID In HTML File Not Working With 1.4 and 1.5 Plugins Installed

    Thanks in advance. I'm using JRE 1.4.2_03 with a CLSID attribute in my HTML file. It works fine with Internet Explorer 6. If I install a newer version of the JRE (i.e. 1.5.0) IE6 still uses the 1.4.2_03 plugin. But, when we install Internet Explorer

  • How to Call Business Objects in Program

    Hi All, if i want to create PurchaseOrders how can i use Business Object in my program.i know how to create PO through Bapi's.how can i use this Business Objects and how to pass Vlaues into them? any Sample code> What are the diffrence between both P

  • Assembler in C-code for Alchemy

    Hello all! I aspire to reach high performance my left unfinished 3D-renderer for Flash-player. Soon enough I have understood that my ActionScript-code is doomed. Then I have started to learn Alchemy. And thanks to the help Bernd Paradies could transf

  • How to import Oracle .dmp file

    Hi ! 1. I want to import oracle .dmp file in to mySql database. 2. How it is possible. 3. I am using oracle 10g database. Plz help me. Thanks in advance. Regards.

  • Fonts-  transferring from old Mac to new Mac

    I used FontDoctor to check and collect all my fonts from my old MBP and copied them to my new MBP OSX-10.6.4. But I don't want to install duplicates or older versions of fonts over newer ones. Will FontBook refrain from adding dups, prefer newer font