Java J2EE coding help

I would need to know how to set up server or something to get my java code working next to my website without needing access to that website.
(I have Java code to create game coins in my java game on my site but I don't know how to get it working without needing to access to my website to store code there.)
1) I haven't put my game up yet so unfortunately you can't see it online
2) I have java code to create coins inside my game.
3) It doesn't work because I don't know what to do after I have coded it.
4) How to make it work without needing access to my site?

It would be alot easyer to use my code from outside
then from web and from outside it's secured so even
if someone gets inside my website then they can't get
code ; )Have you thought this through? What are you going to do to make your code more secure on your PC than it would be on some other server? How do you plan to facilitate communication between your app and the web server?

Similar Messages

  • Help on java/j2ee application development framework

    hello java-gurus,
    I'm new to java and is working in java for just 15 months.i want to know more about the platform/framework which is used in the development of java/j2ee projects.To be more specefic i want to build a java/j2ee project .
    -->The project will be located in the eclipse workspace.
    -->The eclipse will be connected to the cvs and will save the latest code in the repository.
    -->The project will have a build.xml file which on being executed
    will check the latest code from cvs.
    will run j unit test.
    on success from the junit it will compile the project.
    It will make a .war,.ear etc file..
    It will then be deployed in the application server.
    So i want to make a framework of this kind.So i want help from u guys how to proceed.
    I'm just a starter with ant scripts .know how to clean,build and make war files ..I also know about eclipse like connecting to cvs,generating ant script from it etc..
    i'm also comfortable with struts,java,servlet etc..
    So do give me some guidelines how to proceed .
    thanks

    Hello,
    i'm working in project same style of what you want. here are details :
    - eclipse for development - lomboz plugins for j2ee support.
    - using subclipse plugin for svn support checkout and commit, in case of cvs i think it is default in eclipse.
    - the framework is Struts, which is a very very powerful J2EE framework.
    - eclipse plugin lomboz supports creating and deal with struts project
    it also offers GUI for configuring struts xml files.
    - lomboz contains plugin for creating and define application servers and containers like tomcat and jboss, so you can compile, run and debug your code from your eclipse.
    - i use many other tools for creating UML diagrams and ERD diagram and reflect contents to existing projects.
    i think with struts,eclipse and lomboz you need nothing else.

  • Running Java/J2EE application On SAP Netweaver

    Hi All,
    I am a java/J2ee professional who is relatively new to SAP Netweaver studio. I have developed an application which consists of Core java,JSP and Servlets. Can anybody suggest me as to how to deploy this application on SAP Netweaver and how to test the same.I have already created a war file for the application.Quick suggestions will be highly appreciated as its very urgent for my project.
    Regards
    Ani

    Hi
    See this help
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/fcbc3d16f39e33e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/9877fe13221244838a16e3683ad344/frameset.htm
    Kind Regards
    Mukesh

  • How to develope DVD/burner in java/j2ee

    Hi, how to implement dvd/burner in java/j2ee which site , api provide help me

    Hi
    A very basic tutorial
    [http://www.javaservice.net/~java/bbs/data/qna2/1257849337+/SAPJCo_Doku_3.0_EN.pdf]
    Regards

  • HTML/Java/J2ee IDE / Dev WEB app

    I am creating one web application using Java/J2EE. My web page would contain menu and sub menu system.
    I have to use HTML/JSP/Servlet/EJB/SQL Server.
    For HTML I am using dream weaver and for java code notepad.
    I want to use some GUI tool to develop this application.
    1.     GUI for developing HTML page and text editor for Java code with drag and drop facility for HTML and JAVA/J2ee both with easy integration between these two technology components.
    Or
    2.     Any single GUI tool which provide HTML and JAVA/J2EE editor and drag and drop facility for HTML and JAVA/J2ee both.
    Please help me by suggesting!

    Now, with all this added complexity, what was the
    point. I kinda thought it was to create a standard, so
    that deployment was easy.I agree that deployment is not as easy as you would like it to be. However most of this added complexity is to handle situations consistently. And nowadays there are plenty of tools available (my Company makes one), which can simplify the deployment.
    Can anyone out there tell me why we should conform to
    these standards if the web app servers
    won't!!!!!!!!!!!!!!!!!!!!!!!!!That is not how it should be, I agree. While building OptimalJ (the tool we make)we experienced differences between app servers as well. However again, there are tools which make this easier for you (although I don't think they solve it completely yet...).
    Hopefully we end up in a situation where all EAR files can be interchanged more easily.
    Regards,
    Michiel.

  • IKM Java J2EE Test

    I am about to take IKM Java J2EE test ! If anyone has taken this up before kindly share me the
    topics and your experience regarding same ?

    Hi Guys,
    I thought I will share IKM experience, for people who are planning to take.
    I have just finished doing an IKM Exam, 10 minutes back. Overall, I have done four IKM Exams, this year, and two of it in the last one week..
    1. Distributed Programming
    2. XML
    3. Java2 Programming
    4. Java2 / J2EE Programming.
    You are expecting a tough exam. Atleast, it was tough for me, all of them :)
    Exam Pattern:
    It is objective based with three possible answers, but not always and does not say how many answers / question, either. Credit is provided as long as you are able to get close to the answers. Say two answers are correct out of 3. Conversely, you have deductions in credit, if you blindly choose anything irrelevant. (that proves absolutely no knowledge in that area) .
    You cannot go back to a question, that you have answered already
    Questions are made increasingly difficult, when you are answering good and if you find an easy question, all of a sudden, you already know how you have been answering the previous question.
    Questions:
    On average, you have around 30 - 40 questions and the time limit is 90 minutes maximum. Expect plenty of code based questions.
    Syllabus: I do not know if they provide any definite syllabus beforehand and the questions are from all possible areas inside the topic. e.g., when I did the xml IKM, the questions were from XDR, Xpointer, XLink, Xquery and all sorts...
    Test Results: The test results shows you are overall percentage. It shows your strengths on each subtopics related to the exam, on three grades (Strong,Proficient,Weak)
    You can see your test results, if the test organiser has set up that way. I had an opportunity to see only for Java 2 Programming. So added the topics below
    Java 2 Programming: Usual Java (fundamentals,package,i/o,operators,threads., etc.,) + JVM Memory Management + Security Framework + AWT
    Hope it helps.

  • SAP NetWeaver Composition Environment  - Java/J2EE Development

    Hi all
       I am very new to this forum.
       Just want to know whether <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40fe9a6a-2765-2a10-dba9-fc721621e55d">SAP NetWeaver Composition Environment</a> can be used for normal SAP Java/J2EE Development ?
      Also does this Environment has J2EE Engine ?
      I am not worried about presence of NWDI in this Environment ! But please let me whether it is avaiable or not ?
    Any help will really appreciated !
    Thanks all !

    Hi Jan
       I just went and installed SAP NW EE5 version.
       Installation ended at the following error:
    03.11.07 16:13:05 com.sap.inst.jload.Jload main
    INFO: Jload R 7.10 V 0 A 0
    03.11.07 16:13:05 com.sap.inst.jload.Jload main
    INFO: Jload -sec CE1,jdbc/pool/CE1,D:/usr/sap/CE1/SYS/global/security/data/SecStore.properties,D:/usr/sap/CE1/SYS/global/security/data/SecStore.key -log JLoadImport.log -job D:/usr/sap/CE1/insthome/primaryApplicationServer/work/IMPORT.XML -dataDir C:/JavaEEServer/ntintel/../data/jload/JavaEE
    03.11.07 16:13:07 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    03.11.07 16:13:07 com.sap.inst.jload.Jload logStackTrace
    SEVERE: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://jackremo-xp/CE1 [Restart required].
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:216)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.createVendorConnection(DriverPooledConnectionFactory.java:50)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:37)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:687)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.newPooledConnection(DBDataSourceImpl.java:631)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.getConnection(DBDataSourceImpl.java:99)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:202)
         at com.sap.inst.jload.db.DBConnection.connectViaSecureStore(DBConnection.java:109)
         at com.sap.inst.jload.db.DBConnection.connect(DBConnection.java:153)
         at com.sap.inst.jload.Jload.main(Jload.java:702)
    03.11.07 16:13:07 com.sap.inst.jload.Jload printErrorInformation
    SEVERE: An error occured during execution. Please consult SAP note 942766 for first steps on troubleshooting the problem.
    I am logged into the System as ADMINISTRATOR.
    Also I have installed MS Loopback Adapter and made an entry in HOST file for the IP.
    System : XP Profeesional SP2
    Also I am unable to find the said SAP Note !
    Any help on this ?
    RJ

  • Image size and mime type.. non-java guy needs help

    Image size, mime type.. non-java guy needs help
    Im not at all familiar with java so this is really weird for me to work out. I?ve been doing it all day (and half of yesterday).
    Im trying to write a custom clodFusion tag in java that gets the width, height, size and MIME types of a given file. I?ve been trying to get it to work on the command line first. I can get the width and height but cant get the size and the MIME type.
    Here is what I got
    /*import com.allaire.cfx.*;*/
    import java.awt.image.renderable.*;
    import javax.media.jai.*;
    import com.sun.media.jai.codec.*;
    import java.io.*;
    import java.util.*;
    public class ImageInfo {
    private RenderedOp image = null;
    private RenderedOp result = null;
    private int height = 0;
    private int width = 0;
    private String type = "";
    private String size = "";
    public void loadf(String file) throws IOException
    file = "80by80.jpg";
    FileSeekableStream fss = new FileSeekableStream(file);
    image = JAI.create("stream", fss);
    height = image.getHeight();
    width = image.getWidth();
    System.out.println(height + "\n");
    System.out.println(width);
    System.out.println(type);
    public static void main(String[] args) throws IOException {
    ImageInfo test = new ImageInfo();
    test.loadf(args[0]);
    can anyone please help me out to modify the above so I can also print the mime type and the file size to screen.
    thanks for any help

    any suggestions?

  • IMac: Install Java 7 need help!

    Hello, I've an iMac with the newest software version, I want to install java 7 on it for a game server, but when I download it from java.com and I install it and start the server, it still says: Computer on java 6, update to 7 to run server. I already tryed to install with Terminal and direct acess to System Library, it shows that java 7 is installed, but I have to delete java 6. When I delete all java versions, apple says I have to install java SE6, what isn't java 7 but java 6! Help please!!!

    The Oracle JRE is only a web plugin. If you need server-side Java, you'll have to use the Apple-supplied Java 6 runtime, or else the Oracle JDK (which is not a drop-in replacement for Apple's Java.) If your server application depends on Java 7, you'll most likely have to run it on another operating system.

  • Oracle ADF/BC4J vs "other" Java/J2ee technologies. Influence a decision

    Dear All,
    Our dev group is now at the stage when we need to make a decision which way to go - "proprietary" Oracle ADF/BC4J route or open source/java/j2ee standard. In our group we have a mix of Oracle Foms, pl/sql and java developers. The problem is that our core java developers are strictly against any proprietary thing, and they do not really want to even take a look at ADF/BC4J claiming that when it comes to resolving performance and other issues we will be better off with open source, rather than depend on Oracle...
    I am coming from an Oracle centric world, and to me ADF is a natural choice, however I do not have a lot of experience in Java/J2EE to post a strong argument for or against ADF and BC4J.
    I am just wondering if there is a case study, or comprehensive cons and pros for one or the other path.
    I will greatly appreciate anyone's answer.
    Thank you,
    VO

    "When it comes resolving performance and other issues we will be better off with open source."Really? How - are they planning to go into the hibernate/spring engine and fix the problems? Or do they have a specific "support" contract with some company that will guarantee them fixes to these issues? If they do have such a contract how much does this support costs the organization?
    Where is the notion that open-source is faster coming from? Certainly not from actual benchmarks like this one: http://www.spec.org/jAppServer2004/results/
    As Frank said your management might want to look into a more complete picture than what your Java developers are looking at.
    For example, given that you have Forms based developers, how fast can they get up to speed with the open source solution vs the ADF solution?
    I think a simple benchmark of productivity when building an application with the stack they are offering vs the ADF stack would prove the point even better.
    Don't have time to run one have a look at the RAD Race results from this year where ADF based team beat up Spring based teams.
    http://www.bloggingaboutoracle.org/archives/javapolis-radrace-the-full-story
    and
    http://www.radrace.org/en/JPed_2006/JP_report_2006.html#

  • I can't open ibooks. There was a screen pop up about java se. Help please.

    I can't open ibooks. There was a screen pop up about java se. Help please.

    Hi there ajsupprt,
    It sounds like you may need to update the version of Java installed on your computer. Take a look at the article below for more information.
    Java updates available for OS X on August 28, 2013
    http://support.apple.com/kb/ht5648
    -Griff W.

  • Displaying Picture in a Java APPLICATION please help!!

    I have been trying to write a method that Displays a .jpg file when called. However I have not gotten far, every book I have tell you how to display pictures in an applet but not an application. I did find some code that is supposed to be for an application, but It does not compile right. Any help would be apprecidated!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PictureIt{
    public void makeImage() {
    //***Image Output Stream
    String imgFile
    = "d:\\temp\\TestImage.jpeg";
    out = new FileOutputStream(imgFile);
    BufferedImage image = null;
    image = (BufferedImage)createImage
    (panelJpeg.size.width, panelJpeg.size.height);
    Graphics g = image.getGraphics();
    panelJpeg.paintAll(g);
    }

    Displaying Picture in a Java APPLICATION please help!!
    Hope this helps.There is going to be two classes compile seperatly first class is what does the drawing
    here it is
    import javax.swing.*;
    import java.awt.*;
    public class draww extends JPanel {
    Image ball;
    int width1 = 100;
    int height1 = 100;
    public draww() {
    super();
    Toolkit kit = Toolkit.getDefaultToolkit();
    ball = kit.getImage("pic1.gif");
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D) comp;
    comp2D.drawImage(ball, 20, 20, width1, height1, this);
    sound class is the container JFrame here it is
    import javax.swing.*;
    import java.awt.*;
    public class drawing extends JFrame {
    public drawing() {
    super("draw");
    setSize(400,400);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container pane = getContentPane();
    draww d = new draww();
    pane.add(d);
    setContentPane(pane);
    setVisible(true);
    public static void main(String[] args) {
    drawing drawing1 = new drawing();
    PS Hope this helps and see you around

  • Can I export from Muse cc with out java script coding?

    How can I export from Muse CC with out Java Script Coding?
    I'm trying to create an custom email but email won't recognize Java Script, Only HTML.
    How do I export my tample from Muse CC using only HTML coding?
    Thanks in advance.

    Hello,
    It is not possible to selectively export only part of the code for the exported page(s). The pages that are exported, all the code for them is exported, and there's no way to export only the HTML and leave out the rest of it.
    Cheers
    Parikshit

  • MS SQL Server in Java/J2EE Environment

    Dear all,
    I wanted to understand pros and cons of choosing MS SQL Server in Java/J2EE environment.
    Could anybody share some thoughts or web resources?
    Personally I hate using MS SQL Server for Java/J2EE based applications. But one of my clients wanted to have following environment for his production environment and he insist on using this environment for application development. So I just wanted to understand pros and cons of J2EE (Application) + MS SQL Server ( rdbms )
    MS SQL Server
    J2EE/Flex
    Windows OS
    Thanks
    Sudhakar
    Edited by: Sudhakar.Chavali on Mar 20, 2008 10:27 AM

    Sudhakar.Chavali wrote:
    Dear all,
    I wanted to understand pros and cons of choosing MS SQL Server in Java/J2EE environment.
    Could anybody share some thoughts or web resources?
    Personally I hate using MS SQL Server for Java/J2EE based applications. why hate? it's a perfectly good db
    But one of my clients wanted to have following environment for his production environment and he insist on using this environment for application development. so don't take the job
    So I just wanted to understand pros and cons of J2EE (Application) + MS SQL Server ( rdbms )there's no con. java ee works fine w/ sql server
    >
    MS SQL Server
    J2EE/Flex
    Windows OS
    Thanks
    Sudhakar
    Edited by: Sudhakar.Chavali on Mar 20, 2008 10:27 AMdon't take the work if you can't do it.
    %

  • JDBC Java- mysql problem help!

    Hi, I wnat to connect to mySQL fromo Java, I followed all the instructions from the mySql web page, yet I havent been able to do it, when I compile the java progrm I keep getting class not found exceptions, I am using Fedora Core and Java was already installed-well I chose to install it when I installed the operating system, the point is that the paths are all assigned by he system not by me.
    WHat can I do?, Ive been trying over andover again with no results, hopefully somebody can help, I tried to include all the configuration in this email,
    thank you
    my java program is the following:
    t.java
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class t {
    public static void main (String[] args) {
    System.out.println("Hello, world!\n");
    Class.forName("com.mysql.jdbc.Driver");
    when I javac t.java
    I have the following error
    4. ERROR in t.java
    (at line 11)
    Class.forName("com.mysql.jdbc.Driver");
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Unhandled exception type ClassNotFoundException
    when I comment out the Class.forName the hello world rogram runs fine
    when I vi /etc/java java.conf this is the result
    # System-wide Java configuration file -- sh --
    # JPackage Project [www.jpackage.org]
    # Location of jar files on the system
    JAVA_LIBDIR=/usr/share/java
    # Location of arch-specific jar files on the system
    JNI_LIBDIR=/usr/lib/java
    # Root of all JVM installations
    JVM_ROOT=/usr/lib/jvm
    # You can define a system-wide JVM root here if you're not using the default one#JAVA_HOME=$JVM_ROOT/java-gcj
    # Options to pass to the java interpreter
    JAVACMD_OPTS=
    ~
    [root@localhost test]# echo $PATH
    /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
    echo $JAVA_HOME
    it contains nothing
    ls /usr/share java*
    java
    java-1.3.0
    java-1.4.0
    java-1.4.1
    java-1.4.2
    java-1.5.0
    javadoc
    java-ext
    java-utils
    mysql-connector-java-3.1.13-bin.jar is under
    /usr/share/java
    in /etc/profile I have:
    export CLASSPATH=$CLASSPATH:/usr/share/java/mysql-connector-java-3.1.13-bin.jar
    in /root/.bash_profile i have
    CLASSPATH=/usr/share/java/mysql-connector-java-3.1.13-bin.jar:/usr/lib/java-ext/mysql-connector/mysql-connector-java-3.1.13-bin.jar
    export CLASSPATH
    when I echo $PATH i have
    /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

    Thanks duff,
    The driver seems to be found
    when I run
    public class t {
    public static void main (String[] args) {
    try
    System.out.println("Hello, world!\n");
    Class.forName("com.mysql.jdbc.Driver");
    System.out.println("MySQL Driver Found");
    catch (ClassNotFoundException e)
    System.out.println("MySQL Driver NOT Found");
    e.printStackTrace();
    I feel somehow ive been focusing in the wrong side of the problem due to my ignorance in Java. Please help me to understand, the reson for which ithe runtime was telling me that there was an unhandled exception was because it is a requirement to handle all exceptions of this kind? why wouldnt it cmplain if I jst did the hello world without any exception handling, maybe because it is a requirement in the Class.forName...
    the other question is, is the message I was obtaining completely independent of the fact that the class was or was not found?
    Maybe, I should go with these questions to the newbies forum...
    thanks

Maybe you are looking for

  • Help with NAT going from 5520 8.2 to new 5512 9.1

    I have a bunch is NAT rules I have to convert for ASA 5520 version 8.2(5) upgrading to ASA5512 version 9.1(1) I have taken a few lines of config and put them here. If someone can show me the before and after that would help me greatly. I will use tha

  • Trying to reinstall CS5 onto new pc after laptop started acting up

    Hi, I had purchased the CD for Photoshop CS and then eventually upgraded/downloaded to CS2 and did the same in April 2011 for CS5.  I have the license number and the 'program" on an external hard drive where I saved everything, but when I click the s

  • Function modul

    Hi, I want to read a Function module and its parameter dynamically in ABAP Coding not with SE37. Is there a function module or other utility in SAP  to do this? Kindly Barbara

  • Safari 3.1 Update and Shift key problem in Gmail

    The problem of the new 3.1 Safari update and its affect on the shift key in Gmail is all over this forum and the Gmail forum. Is anyone from Apple seeing this? This seems a very convoluted way to let Apple/Gmail know about it. It would be good if one

  • Scanned images won't fit photo boxes in book

    Hi. Well, I am working on a book filled with letters from my grandparents (Old Toad, thanks for your earlier help). I've tried scanning them in and then placing in the boxes, but they are being cut off. When I try cropping at the 4x3 image, I still l