Who has read J2EE tutorial, please explain to me.
The Converter bean example in J2EE tutorial....
Why ConverterHome can refer to Converter without importing Converter first?
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
import java.math.*;
public interface Converter extends EJBObject {
public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
import java.io.Serializable;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
public interface ConverterHome extends EJBHome {
Converter create() throws RemoteException, CreateException;
The above code is excerpt from the tutorial sample files.
The problem is that these two classes are not in the same source file. They cannot be since there can be one and only one public class in a source file.
So how come ConverterHome can refer to Converter without import?
Similar Messages
-
Any one who has read chap15 of Thinking in JAVA,2nd Ed. please take a look.
I'm testing the RMI example in chap15.When I run the PerfectTime class I always get an error message(xuke is my computer's name,and I've already conncetted to the ISP and started the registry server and produced the stub&skeleton classes as the book said):
java.security.AccessControlException: access denied (java.net.SocketPermission xuke resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:267)
at java.security.AccessController.checkPermission(AccessController.java:394)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1037)
at java.net.InetAddress.getAllByName0(InetAddress.java:554)
at java.net.InetAddress.getAllByName0(InetAddress.java:535)
at java.net.InetAddress.getByName(InetAddress.java:444)
at java.net.Socket.<init>(Socket.java:95)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:20)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:115)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:494)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:169)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at java.rmi.Naming.bind(Naming.java:106)
at PerfectTime.main(PerfectTime.java:31)
Exception in thread "main" Process terminated with exit code 1Use a policy file, in which you grant acees permissions, when starting your applicaiton:
grant {
permission java.net.SocketPermission "*:1024-65535", "connect,resolve";
permission java.net.SocketPermission "*:80-65535", "connect,accept";
Here you have more details:
http://java.sun.com/docs/books/tutorial/rmi/running.html -
How to find who has deleted program
Hi,
Some one has delete a report from the system.How can I find the user who has deleted?
thanksHi ,
Please refer the threads,
How to find who deleted my program?
How to find deleted program
Best Regards.
Reward points if it is helpful. -
I have a new ipad mini - I am able to receive emails but not send - same with text. I have tried to follow the support advice. I have deleted my aol account and added it again. I have compared every setting with my husband, who has an ipad? Please help
ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"
-
Hi everyone,
could anyone of you please
who has a clean install of Windows
8.1 on the SSD drive look at some settings
of certain services (below)?
Thank you.
Prefetch and Superfetch. In registry located on way
HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\ Control\ SessionManager \MemoryManagement \PrefetchParameters.
I am interested in EnablePrefetcher and
EnableSuperfetch REG_DWORD value.
Just a number in parentheses.
ReadyBoot. In registry located on way HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Control \WMI\Autologger\ReadyBoot.
I am interested REG_DWORD value of
Start. Just a number in parentheses.
Run dfrgui command. Go to Change settings and have a look if SSD on which is the system installed is included in regular optimalization schedule.
Registry can be accessed running regedit command.Hi,
Prefetch and Superfetch means that most commonly used files are stored to disk to be more quickly accessed later.
For Prefetch:
Disable Caching: 0
Cache Applications Only: 1
Cache Boot Files Only: 2
Cache Everything (default): 3
For SuperFetch:Disable Caching: 0
Cache Boot Processed Only: 1
Cache Applications Only: 2
Cache Everything (default): 3
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WMI\Autologger\ReadyBoot\Start value means:
disable: 0
enable: 1
For more information about clean installation of Windows 8.1 on SSD, I suggest you read below article:
Windows 8.1 SSD Settings, Etc.
http://www.tweakhound.com/2013/11/02/windows-8-1-ssd-settings-etc/
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Karen Hu
TechNet Community Support -
I'm in trouble, my iPod Touch is giving 4th shock when recharge and the battery does not last any more. who knows or has a similar problem, please help me. Note: all this after I downloaded the new version OS5.
I would make an appointment at the Genius Bar of an Apple store because of the shock issue. I doubt it was caused by the update.
-
Who has the following error message..please look it up...
Hello !
Who has the following error-message when connecting a ipod to the Cinema Display:
Aug 6 12:29:01 G5 kernel[0]: /SourceCache/AppleFWOHCI/AppleFWOHCI-244.4.0/AppleFWOHCI.cpp 3435: ERROR: FireWire (OHCI) Apple ID 42 built-in: handleUnrecoverableErrorInt
Please look in the console Application in the file system.log
What does it mean ?
ThanxIt means that the firewire port in your Cinema Display has problems. Read more here: Thomas Berglund, "Problem with 20" Firewire..Who has the following entry ?" #2, 04:45am Aug 20, 2005 CDT
-
Hello,
Could some PLEASE explain to me why BEA has a workshop 9.2 and a Workshop Studio (NitroX) ?!?!?
Are they going to merge Studio/NitroX into workshop 9.2.x ??
Would I be wrong in thinking that Workshop 9.2 (with it's NETUI) is just waiting to die, and that eventually studio will become the core IDE product?
Thanks,
KNot to start a flame war, but it makes sense to me.
Studio is built on Eclipse, Workshop 9.2 is built on Eclipse. NitroX was
part of an acquisition and like many acquisitions I'm sure it will take
time to integrate it fully into the BEA product suite. Hopefully in the
future both Studio and Workshop 9.2 will work together nicely.
I don't see why one would survive and the other wouldn't. Thats what I'm
hoping for, but until one of us has info into the exec's future
strategy, we can only guess what is in store.
I don't see a huge difference between Studio and Workshop, only tooling
differences available in both. I use Studio for my webapp development
(love AppXray) and Workshop for all my other development.
ekwiatek, in one of your earlier posts you mention NETUI support
("""Workshop 9.2 (with it's NETUI) is just waiting to die"""), what
gives you that indication?
ekwiatek, can you comment on why this (2 IDEs) is an issue?
-Jacobd
ekwiatek wrote:
BEA's action's are very confusing.....BEA buys an IDE framework (Nitrox) that is very different from one they are in the process of newly deploying, they hype BOTH (actually "BEA developer days" just hyped Studio which is even more confusing), and then they want us to jump on one of the two IDE bandwagons (studio vs workshop), but they aren't going to tell us which framework is going to survive?!?!? BUT, oh, hey, they will give us a migration tool to ease the transition :) OR I can just grab elcipse and
code by hand , targeting jboss. Do I really save any time using BEA's IDE if I have to port/re-develop my applications every few months while they secretly develop a marketing strategy for their IDE?!?!?
But on the postive side, we saw WLI 9.2 workshop, and it seemed good. -
Could anyone please explain why the director has been removed from spotlight as it had much importance in LYNC 2010 and now being an optional role in LYNC server 2013.[any call flows regarding director servers would be much useful]
Hi SJ Praveen,
A Director is a server running Lync Server 2013 that authenticates user requests, but does not home any user accounts. Lync 2013 Front End servers have the same registrar service and functionality
as the Director.
The Director isn't providing any special functionality. If the Director goes down, all pools would become inaccessible when the clients queried DNS for the SRV record until an administrator
makes a manual internal DNS change that points users to a Front End pool to handle the sign-in request from Lync clients. Microsoft has made the Director functionality relevant for organizations that have specific security requirements, such as allowing all
external users to register to a specific internal server instead of the Front End servers. This server role is merely optional and not needed for most Lync Server 2013 deployments.
Best regards,
Eric -
Please tell me the way to find the person who has booked the conferenceroom
HI All,
When i am trying to book a conference room. it was showing the status a s busy in zimbra.But i am not able to find the person who has booked the room ?? how do i know the person who has booked teh conference room??if i can know that person i can negiotate with him abt the room.
please tell me the way to find the person who has booked teh conference room ?????
Thanks in advance
VenugopalHi Venugopal,
If you add approvers using beekeeper for that resource AND that you use Outlook, you can see who is 'in charge' of that resource, ie the person that will hand over the keys to that room when you need them. That person is the only one who may be able to tell you who has booked the resource, you can then go and 'negociate' ;o)
In Zimbra (1.5.1.5) you can't see the contacts..
hth
David -
when i click on signature field to digitally sign, in adobe reader version 9.5 , it does nothing. please explain and help.Urgent
Hi,
2 things:
1. Assuming your script is original - it is not asking for a TXT file till it is found in expected location. You can choose between 2 solutions:
to remove FindChangeList.txt from FindChangeSupport folder ==> script will ask for another file
to override this file by your query ==> script will not ask but execute your query
2. You can see greyed TXT files in Script Panel since this panel shows executable files (script's formats)
Jarek -
Please Explain the sequencer ( J2EE Code )
Hi,
The following code is a part of Dao, I could understand the flow of the Dao classes but I really could not make out why this sequencer program is used.
Please explain and send any URL which will help.
Comments Plz.
package lrnsource.src.com.lrn.dao.common;
import java.sql.Connection;
import java.sql.SQLException;
* The Sequencer class represents the oracle
* implementation of Sequencer.
public interface Sequencer {
* Gets the next number in sequence for the given entity.
* @param entity the given entity.
* @param con the connection object.
* @return Returns the next number in sequence.
* @exception throws SQLException when some problem with DB.
public long getNextSequenceNumber(String entityName, Connection con) throws SQLException;
* Gets the current number in sequence for the given entity.
* @param entity the given entity.
* @param con the connection object.
* @return Returns the current number in sequence.
* @exception throws SQLException when some problem with DB.
public long getCurrentSequenceNumber(String entityName, Connection con) throws SQLException;
package lrnsource.src.com.lrn.dao.common;
import com.lrn.common.CommonConstants;
* This class provides instance of sequencer
public class SequencerFactory {
* Public method which gets the runtime implementation class
* for implementing the sequence generation related functions
* @Param seqType the sequencer type.
* @return Sequencer interface, the type of implementation class.
public static Sequencer getSequencer(int seqType){
Sequencer sequencer = null;
switch (seqType) {
case CommonConstants.ORACLE_SEQUENCER:
sequencer = new GemsOracleSequencer();
return sequencer;
package lrnsource.src.com.lrn.common;
* This class contains the constants used across lrn.
* <p>
public class CommonConstants {
public static final int ORACLE_PERSISTENCE = 1;
public static final int ORACLE_SEQUENCER = 1;
public static final String DATASOURCE_JNDI = "java:/comp/env/jdbc/GemsDB";
public static final String ERROR_MESSAGES = "";
public static final String CERTIFICATION_SERVICE = "java:/comp/env/ejb/certification";
public static final String QUESTION_SERVICE = "java:/comp/env/ejb/question";
public static final String REGISTRY_SERVICE = "java:/comp/env/ejb/registry";
public static final String ADMIN_USER = "ADMIN";
}dear friend,
please look here:
http://help.sap.com/saphelp_47x200/helpdata/EN/c1/416a55de2a11d3b4ff006094b9b9dd/frameset.htm
regards, -
Forte for Java J2EE Tutorial -- RMI RemoteException
In testing the J2EE tutorial (Restaurant_TestApp) I keep encountering the following error when invoking the findAll method. I get the same error when invoking Data.Restaurant create.
The error is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException java.rmi.RemoteException
Any help or pointers from someone who has successfully built and tested the tutorial would be hugely appreciated!
Many thanks,
Luke
The full error from the J2EE log is:
javax.ejb.EJBException
at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:1560)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:1472)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1289)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:403)
at Data.RestaurantEJB_PM_RemoteHomeImpl.findAll(RestaurantEJB_PM_RemoteHomeImpl.java:99)
at Data._RestaurantHome_Stub.findAll(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:232)
at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:97)
at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:190)
at org.apache.jsp.dispatch$jsp._jspService(dispatch$jsp.java:127)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:484)
java.rmi.RemoteException
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:389)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:431)
at Data.RestaurantEJB_PM_RemoteHomeImpl.findAll(RestaurantEJB_PM_RemoteHomeImpl.java:99)
at Data._RestaurantHome_Stub.findAll(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:232)
at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:97)
at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:190)
at org.apache.jsp.dispatch$jsp._jspService(dispatch$jsp.java:127)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:484)RMI is not that hard.. its just hard to explain :)
I have not done the tutorial.. so bare with me..
the errors your seeing can mean many things.. but above all else it means that you've got a problem either connecting or communicating to the rmi_server you created or the rmiRegistry
My suggestion is this...
First try a simpler application.
How about a simple server that returns a string
and sets a string.
then a client app that can read the server string and envoke a change to it...
This will show the basics involved.
let me know your toughts..
j. -
I know this has come up before in the forum, but the ansers didnt solve my problem.
I have been trying to deploy and run the bookstore examples for the J2EE tutorial online. I would be extremely grateful if someone out there who has setup and run these tutorials on the Windows platform could let me know exactly what environment variables etc. I should be configuring.
I have added JAVA_HOME and J2EE_HOME to the environemt variables, pointing to the java sdk and J2EE application server installation ocation respectively.
I also tried setting the j2ee.home and j2ee.tutorial.home attributes in the build.propoperties file, but I cant get it all to work.
Please tell me the environment variables, system variables (if different), CLASSPATH, and any other setup I need to do.
C.Sorry, I was at work earlier and couldnt get all the info.
I have set the following environment variables:
JAVA_HOME = C:\j2sdk1.4.2_04
J2EE_HOME = C:\Sun\AppServer
CLASSPATH = .;D:\Packages;%J2EE_HOME%\lib\j2ee.jarI keep my own packages in the D:\Packages folder.
I came across some tutorial info that says to also add the j2ee.home and j2ee.tutorial.home properties in the file <INSTALL>j2seetutorial14/examles/common/build.properties. This looks like the following:
j2ee.home=C:\\Sun\\AppServer
j2ee.tutorial.home=D:\\J2EE\\j2eetutorial14
sunone.home=${j2ee.home}
admin.password.file=${j2ee.tutorial.home}/examples/common/admin-password.txt
admin.host=localhost
admin.user=admin
admin.port=4848
https.port=8181
domain.resources="domain.resources"
domain.resources.port=8080
db.root=${j2ee.home}/pointbase
db.driver=com.pointbase.jdbc.jdbcUniversalDriver
db.host=localhost
db.port=9092
db.sid=sun-appserv-samples
db.url=jdbc:pointbase:server://${db.host}:${db.port}/${db.sid}
db.user=pbpublic
db.pwd=pbpublic
url.prop=DatabaseName
ds.class=com.pointbase.jdbc.jdbcDataSource
db.jvmargs=-ms16m -mx32m Note that the line breaks don't show in this browser, or in notepad when I edited it - got the 'square' character when I opened that, but I think the content is right.
I also tried setting the username above and the username in the file admin-passport., but that didnt work either. -
J2EE Tutorial is really getting to me
Hi all,
Here's the thing. For my internship i have to develop a web service using J2EE 1.4. I've only just started 2 weeks ago, and been researching the whole platform and all it's components.
Just now i've began to look at the web services using JAX-RPC, but the frustration is already hitting me. Mainly because the Tutorial doesn't explain anything what's going on (especially what is exactly done when de ASANT commando's are executed: i'm trying to figure this out, because when i have to develop a webservice i can't really use asant now can i?).
For instance, how can you compile the HelloClient.java example WITHOUT ASANT? It doesn't say anywhere! It just says "type asant run" and this is the output you'll get. Yeh yeh very nice, but HOW does it work.
i know i'm complaining a lot, but for someone who has to develop a webservice THIS just isn't good enough.
Does anyone have suggestions for some good books on Web Services & J2EE 1.4? Or any good references on the internet (no bundled tutorials such as the WSDP and stuff)?
Any help would be really appreciated
Mic.Asant is a tool, like make, for building applications. asant is a actually a version of the very popular Ant tool, with a few extra commands specific to the S1AS admin tool. To learn about Ant, go to:
http://ant.apache.org/
Of course you can use javac, but then you have to set the correct classpath and do a lot of other routine things every time you want to build an example. asant does this automatically.
To find out what asant is doing, just look at the build.xml files in the example directory. The definition of each task tells you what it's doing. There's also a default task, usually "build", defined at the top of the build.xml file.
asant is especially useful for JAX-RPC, because it invokes the JAX-RPC compiler and deploy tools -- wscompile and wsdeploy -- as well as javac. The JAX-RPC tutorial chapter explains what these tools do. I think the idea is that yes, you should use a tool like Ant when developing Web services.
Maybe you are looking for
-
Wireless works, but ethernet does not OfficeJet Pro 8600
I just purchased an OfficeJet Pro 8600 and can't get it to work on the ethernet port. The printer states that it is not connected. I know the calbe works because I can print to a different printer when attached to that cable. Any assistance is app
-
Our computer is REALLY low on memory...we will get a new one at some point but can't at the moment. Upgraded to the new iphone 4s and bought an external hardrive so I could move my Itunes library to that, so I could update iphone/itunes (isn't enough
-
is it possible to connect sbs560 model to my dvd player? thanks.
-
TV shows deleted after updating
I play an episode of a TV show on my iPod, and then when I update it, the episode I previously played is off my iPod, and yet still in my iTunes library. This glitch is only applicable to TV shows.
-
Think to add feature in Q10 !!!
Hello every one I am using blackberry since 2010, my last blackberry was bold9900 and last few days back i have purchased q10.. I am not phone manic at all so over all phone is good. Three reasons why i enjoyed blackberry 1. Its a business phone and