P2p network java implementation -design/scalability questions

Hi,
i am trying to build a (distributed) p2p network simultor. What's this? Each PC called "farm" will have tenths of thousands -i hope- "Peer" threads running (say level "0") . These threads will be referenced by a Farm thread running on each PC (say level "1"). In the case where a message needs to be forwarded to a "remote" Peer (a Peer running in another farm), there will be also a server and a client communication module for each Farm (say level "2").
The farms will also communicate with FarmMonitor via a client module (in level "2" also) , a Process running on a single PC, mainly handling user requests.
         |---------------------------------------------------|
        \|/                                                 \|/
Farm server/client mod          Farm server/client mod
|-----------------------------------|         |------------------------------------|
|          farm1               |         |            farm2               |
|-----------------------------------|         |------------------------------------|
FarmMonitor client                    FarmMonitor client
          |                                            |
          |                                            |                      
          \____________________________\_____________ |  FarmMonitor Server
                                                                               |----------------------------------|
                                                                               |    FarmMonitor         |
                                                                               |----------------------------------|I have built a demo -roughly reach the Farm-Farm communication part , which works with nio Pipes betwen Peers, but looks complicated and i would also like to use nio SocketChannels for the communication. Since however i am inexperienced in nio (and in general), i have little time, i mainly work on my own and i must decide for once in my life to use the K.I.S.S. rule, i have thought of another alternative.
Peers (threads) -not running most of the time- communicating in a Producer-Consumer fashion via a (incoming) message mailbox/buffer. Each Peer will have these mailboxes of its neighbouring peers mapped to the corresponding neighbouring peer id. Each peer will temporarily buffer its outcoming messages internally and once awoken forward them to right mailbox. The communication modules will serialize the msgs and use old-fashioned i/o.
Am i heading to a disaster? Will i have scalability problems, because of all these monitors and threads? Any remarks useful.
Thanks

Jason, quick update on this.  I might not have used the correct terminology regarding the publishing in AD.  What I try to say when you have extended the schema in AD with the SCCM Specifics, and you then install Management Point that object is
also created under the System Management container.  When checking client logs I could see that the client is querying AD and retrieves list of Management points, once it determines the site that it will assign to it get the list of MP's for that site.
In my development environment I have not extended the schema, so I'm using SMSSITECODE=XXX SMSMP=NETBIOSNAME.   What I did see now, after I got the IBCM working correctly when installing new SCCM Client, using the following install parameters "SMSSITECODE=LA0
SMSMP=ABC ...." checking locationservices.log, I see that the client is "assigning to Management point ABC" and few seconds after that message it also get the Internet MP information, and once client is installed and then checking the Control Panel applet
"Network" the Internet Management Point information is populated, that already is good news.
My software distribution is working for some new apps that I created after IBCM was configured, however for few apps that already existed before IBCM was created, I still have the issue that it cannot find any DP's, however I'm able to install the same app
from my intranet without issues.  Need to check on this further, I hope when implementing this in my Production environment that I don't run into same issue with all my existing applications.
thx again for all the help, appreciated.

Similar Messages

  • Java EE design advice for a re-designed DB app

    I'm currently tasked with rewriting a legacy DB app in Java. The original was written in Delphi. It worked great for a number of years, but the powers that be have recently decided to redesign and rewrite it in Java. Basically I just have the same set of business requirements as the original did.
    Overall, the app is a desktop GUI application that helps track contents of a natural history museum collection. The collection contains a bunch of specimens (dead animals) collected all over the globe at various times over the last 200 years. Multiple users (1 - 10 uesrs) will have to have access to the data at the same time. I also have to provide a nice Swing GUI for it.
    Here's my question: Is this the type of app that lends itself to a Java EE design? I'm imagining using a Java EE app server that connects to the DB. The app server would provide DB access, producing entity beans, as well as managing a number of session beans (EJBs) that implement the business logic (security, user management/session management). I would also have a Swing GUI that would connect to the beans remotely. This sounds like it would help me keep a good disconnect between the UI layer (Swing), the business logic (EJBs), and the data layer (entity beans accessed using the Java Persistance API). Does this sound reasonable? I'm a veteran Swing developer, but not a seasoned Java EE developer/designer.
    Also, if I use this architecture, I can imagine one issue that I might run into (I'm sure there are many others). I can imagine that I would want to retrieve the entity beans (lets say mypackage.MyPersonBean) through some call to an EJB, and then use the bean in some rendered Swing component. What happens when the Swing component needs to access the results of MyPersonBean.getAddresses() if the addresses are lazy loaded?
    As you can probably tell, I really have more than one design question here. Help/comments about any of this is greatly appreciated.

    I was thinking the same thing, but don't have a
    successful experience to validate my gut feelings.
    Here's my only suggestion (which dubwai could
    hopefully confirm or correct): write your entity
    classes/data model classes with no knowledge of
    lazy-loading etc. Then subclass them, overriding
    just the getChildren() type of methods and build the
    lazy-loading knowledge into the subclass.More or less, yes. Don't over-think it, though. If you define your basic data 'types' as interfaces, you don't need to get into complex type hierarchies or multiple versions of the types unless that becomes necessary and if it does, the changes should not affect the presentation layer.
    Since you are on-board with this and I think you are completely following, there is a technique for the lazy loading that you can use here.
    In the case where it's a one-to-one relationship, you can do the lazy-loading by creating a simple wrapper class for the child object. This class will have a reference to either null or a filled in Object. This is a little more OO because the Object is taking care of itself. Whether this abstraction is useful to you, you will have to decide.
    In the case of a one-to-many relationship, you can create a custom Collection (List or Set) that manages the stub loading. If you make a generic abstract version and subclass it for the different child types, you might be able to reuse a lot of the data retrieval code. You can do the same thing with the wrapper too.
    I will caution you to try to keep it as simple as you can without painting yourself into a corner. Only do things that you are going to use now and write things so they can be expanded upon later. Reducing coupling is a core technique for that.
    When the
    GUI asks for an object in the getData() call, hand
    them a subclass object, but don't let them know it.
    In other words, have the method "public DataClass
    getData()" return a SubDataClass object. The caller
    will only know that they received a DataClass
    object, but lazy-loading awareness will be built
    into it. This way, the lazy-loading stuff is
    completely transparent to the caller but you still
    have simple data classes that can be used outside of
    a lazy-loading context.Yes this is the idea, but don't write the other versions until you need them.
    It's also possible to use
    this method if you need to add transparent
    lazy-loading to classes that you aren't the author
    of. (Only classes that have been tagged 'final' or
    have 'final' public methods would be beyond this
    method's reach.)Yes, you can use the wrapper approach above but if the author of that class made a lot of unecessary assumptions you might have trouble.
    This approach allows for some enhancements, too.You
    can create a thread that retrieves the children of
    Foo (e.g. bars) incrementally after the Foo is
    returned to the caller. Often you can load the
    bars
    in the time it takes the user to click around to
    the
    point where they are needed or at least be partly
    done. This will make the app seem very fast to the
    user because they get the Foo very quickly (because
    you didn't load the chidren) and then the bars
    really
    quickly (because you loaded them during user
    'think-time').
    I love this idea. I'm hoping to code this into my
    GUI app soon.I would advise that you get the main lazy-loading working without this (keep in mind when writing the code) and do it once you are sure you will finish on time.

  • Creating Web Services using Java Implementation

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

    Hi,
    This is quite a general question on how to create a Web Service using Java Implementation that needs to conform to a client XML schema.
    Here are my Version specs,
    I am using Jdeveloper 10.1.3.4.0 and deploying onto OAS 10.1.3.
    I will be creating a J2ee 1.4 (JAX-RPC) Web Service using Document/Wrapped style.
    I have been provided an XML schema from the client which is quite complex.
    Using a top-down approach, I can create my WSDL file and import the XML Schema for my type definitions.
    The Web service aim is to accept some parameters and return some data from the Oracle Database. The
    XML response from the web service must conform to the element, attribute definitions in the provided XML schema.
    From a Java implementation approach, what is the best (simplest or quickest) way to retrieve data from the Oracle
    tables and map each fields/column to the required XML output (defined in the XML schema).
    I'm not too concerned with using Java to retrieve data from the Database, more with how I can map the data returned
    to the required output. Can this mapping task be controlled within the Java program?
    Thanks in advance.

  • Java implementation from WSDL file

    Hello All
    I am working on my thesis and have to deal with web services. I have a WSDL file where I have to create the Java implementation for and deploy it to TomCat which is comming with JWSDP1.3.
    The steps I do are as follow:
    1. Get the WSDL file
    2. Create the config.xml file
    3. run wscompile with "-import" option
    4. implement service implementation (provider interface)
    5. run wsdeploy tool
    All tools are running successfully without exception. When I try to access the webservice I receive the following message from tomcat:
    "No JAX-RPC context information available."
    and I cannot access the webservice from my client program. The "hello" example works with my setup.
    Below, please find my WSDL file and my config file as well as my provider interface implementation.
    Thanks for your help.
    ===========
    calculatesqrt1.wsdl:
    <definitions xmlns:tns="http://localhost:8080/calculatesqrt1-jaxrpc1/ws/calcultesqrt1.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://localhost:8080/calculatesqrt1-jaxrpc1/ws/calcultesqrt1.wsdl" name="Calculatesqrt1">
         <types/>
         <message name="CalculatesqrtProvider1_sqrt">
              <part name="double_1" type="xsd:double"/>
         </message>
         <message name="CalculatesqrtProvider1_sqrtResponse">
              <part name="result" type="xsd:double"/>
         </message>
         <portType name="CalculatesqrtProvider1">
              <operation name="sqrt" parameterOrder="double_1">
                   <input message="tns:CalculatesqrtProvider1_sqrt"/>
                   <output message="tns:CalculatesqrtProvider1_sqrtResponse"/>
              </operation>
         </portType>
         <binding name="CalculatesqrtProvider1Binding" type="tns:CalculatesqrtProvider1">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="sqrt">
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/calculatesqrt1-jaxrpc1/ws/calculatesqrt1.wsdl"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/calculatesqrt1-jaxrpc1/ws/calculatesqrt1.wsdl"/>
                   </output>
                   <soap:operation/>
              </operation>
         </binding>
         <service name="Calculatesqrt1">
              <port name="CalculatesqrtProvider1Port" binding="tns:CalculatesqrtProvider1Binding">
                   <soap:address location="http://localhost:8080/calculatesqrt1-jaxrpc1/ws/calcultesqrt1"/>
              </port>
         </service>
    </definitions>
    ===========
    config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
         <wsdl location="Calculatesqrt1.wsdl" packageName="calcusqrt1">
         </wsdl>
    </configuration>
    ============
    CalculatesqrtServiceImpl1.java:
    package calcusqrt1;
    public class CalculatesqrtServiceImpl1 implements calcusqrt1.CalculatesqrtProvider1 {
      public double sqrt(double double0) {
        return Math.sqrt(double0);

    Please post future JAXRPC related questions to [email protected]
    Sounds like it did not get deployed properly on the web server. You should be able to hit the URL for the
    web service in a web browser to get an information.
    The client will use the address stored in the WSDL to access the webservice, please make sure that it is correct. If you download the WSDL from the deployed service the address should be fixed up for you.

  • Newbie: IBM Directory Server LDAP Java Implementation

    Good day friends,
    I'm new in developing LDAP applications. I'm using IBM Directory Server v4.1 & need to develop a application (a web application - JSP/Servlet/EJB). I'm doing this as part of a Web project where i need to store the User Info of the registering user to LDAP server with proper Organisational Hierarchy & Privileges. I'm using Java for this application. I have the proper JNDI environment set for LDAP interaction. Can anyone provide me with a best practice/right procedure for implementing this, like searching for an entry, inserting/updating an entry & how to make use of Attributes provided in IBM DS 4.1.
    I searched IBM redbook & others for this but without any success. All Prog references are pertaining to C & very minimal info for Java implementation. I found some info in other LDAP like Netscape & Novell, but there structuring is different from IBM DS. I would appreciate if anyone can throw some light on this regard. I would appreciate a complete Java Programmers Reference Guide for IBM Directory Server v4.1.
    Thanking u in anticipation.
    cheers,
    J2EEDev.

    I'm coping with the same question as you had.
    Did you get any valuable information or a Java programmers reference guide for IBM directory server ?
    If so, could you send me an url where I can obtain the required information ?
    Thanks for your reply !
    Dirk

  • Oracle Procurement/Sourcing :- Need advise on an implementation design

    Dear Guru's,
    Need advise on an implementation design
    Problem Summary :-
    Our client(say "X") is contracted to perform certain business functions for their client (Say"Y")
    Say "X" is do sourcing (RFP,RFQ) functions till PO creation,receiving in a excel based custom application ( Not through oracle EBS) for client "Y".
    So "X" is not responsible for paying for those services and "Y" pays for those receipts.
    We want to implement Oracle EBS Advance procurement solution for their above functions and replace the custom application processes.
    But client "X" is not accepting advance procurement solution as they("X") are not paying for the services and they don't want to fit this solution in Oracle EBS as this may cause legal issues.
    Questions:-
    1. Whats the best design solution for this type of scenario to fit the custom process into Oracle EBS procurement ?
    2. Can we follow the sourcing implementation process(RFQ/RFP)-> PO Creation-> PO receipts-> AP Invoice matching in Oracle EBS and is there a way to nullify this transaction in Oracle so      that there will not be any legal issues? May be creating credit memo/AR invoice etc...
    Appreciate your help!
    Thanks
    Karthik

    Hi All,
    Once basic question on the centralized procurement model. Please advise.
    Scenario :-  Two OU(OU1- Requesting OU and OU2- Purchasing OU) Scenaio:-
    1
    Purchase Requisition in OU1
    2
    AutoCreate PO in OU2
    3
    Approve PO in OU2
    4
    Receive the material in INV1 of OU1
    5
    Supplier sends the invoice to OU2
    6
    Cost the transactions
    7
    Run ‘Create Intercompany AR invoices in OU2
    8
    Run ‘Auto Invoice Master Program in OU2
    9
    Run ‘Create Intercompany AP invoices in OU1
    10
    Run ‘Expense Report Import in OU1
    Question:-
    1. After step 5(Supplier sends the invoice to OU2) who will do the payment for supplier and what's the process?
    2. I could see the intercompany invoice process in further steps which creates invoices, but not sure on how supplier payments are paid.
       In which step the paymens(Supplier, Intercompany) are processed.
    Please advise!
    Thanks
    Karthik

  • Developing game for P2P network

    I need help in developing a Java applet game that can be played through a Peer-to-Peer (P2P) networking architecture preferbaly with security. It can be any game at all and because i'm new in java programming a simple game will do. An existing game source code will also help me as a reference for coding my own game. Any response is most welcome.

    Well, I can't give you the source code of my Fwire object because Borland's license says I can't but I can tell you what it does and what you need to do to transfer data between programs. Well, it goes like this... You first of all need to initialize some kind of server socket for one program. This socket just listens for someone to connect to it. The client will be the other program that will connect to it. That will just be a socket which in Java is a client socket. Hmm... Oh yeah, you then have to hook some kind of input stream to each socket's client socket. What I mean is that the server socket will get the reference of the client socket when it accepts the connection. Here's a basic schemata...
    1. Make server socket.
    2. Make client socket.
    3. Server socket listens.
    4. Client socket connects.
    5. Server socket accepts client and hooks client.
    6. You attach an input and output stream to each.
    7. You send data via the client socket.
    8. You close the connection when done.
    Code:
    Server side...
    ServerSocket ServerWire = new ServerSocket(80);
    Socket ClientWire;
    ClientWire = ServerWire.accept();
    Client side...
    Socket ClientWire = new Socket("127.0.0.1", 80);
    Not too hard? Eh?
    Now once you do this you need to attach some kind of input or output to the client socket. Depending on what you're sending, I suggest you use BufferedReader, PrintWriter for strings and DataInputStream, DataOutputStream for everything else. To get the input or output of the client wire you just do this...
    Code:
    Server side...
    ServerSocket ServerWire = new ServerSocket(80);
    Socket ClientWire;
    DataInputStream Input;
    ClientWire = ServerWire.accept();
    Input = new DataInputStream(ClientWire.getInputStream());
    and vice vera!
    Client side...
    Socket ClientWire = new Socket("127.0.0.1", 80);
    Do the same here.
    Tubular? Gnarly? Way Cool? Awesome? I hope that worked! Can I have a few Duke Dollars for this great explanation of mine?

  • Timing issues in implemented design

    Hello everyone,
    I have been reading in these forums for a long time now, but have never posted. Possibly because I have never had such a design-specific issue that was above my knowledge...I wish my problem was more "friendly" for a first post.
    Anywho, my problem is as follows: I've been working on a design for a few months now and everything was working fine up until recently (apart from logic errors of course that I would run into and fix here and there). I recently integrated a module that I did not design myself. My behavioral simulations work fine and all of my previous functionality seems to be working as well when the design is implemented. However, the functionality based on the "foreign" module has introduced problems.
    What I am using: Spartan 6-XC6SLX16 and therefore ISE
    Here are some of the functional symptoms I have recorded so far:
    - The functionality always produces the same output after the design is implemented and uploaded
    - The functionality can differ if I change something (no matter how small or where) in the design itself
    - The same applies for changing constraints
    - After some implementations+uploading the functionality works correctly, and in other cases it fails by either producing erroneous results or just "getting" stuck (i.e. one of my FSMs)
    - The critical path w.r.t. my system clock is in the module that seems to be the source of the problems
    This leads me to believe that there is some timing-related issue. The only timing related constraint I have used is for my system clock period. The timing report does not show any errors regarding this constraint.
    My guess so far would be that I have an unconstrained path problem, possibly in combination with insufficient account for system and input jitter, as the design does take up around 40-50% of FPGA. The problem is that I have no experience in tracking such an issue down, so I could definitely use some pointers in the right direction.
    Things I have tried:
    - Basic logic debugging of the input-output behavior of the problematic functionality using chipscope
    - Post-PAR simulation of the module that includes "foreign" components: Works fine with a 100MHz constraint
    - Increasing the frequency constraint for the entire design from 100 to 120 MHz but that was just out of lack for better ideas, it did not help.
    - Looking at the unconstrained paths that the timing analysis can provide. I was hoping to find something related to the component that seems to be causing the problems, but no luck. Mainly just entries related to all of the ring oscillators that I am using, which it seems to be interpreting as a clock domain crossing case. These, however, have nothing to do with the problematic portion of the design.
    I have a few questions at this point:
    -Can one problem lead to a totally uncontrollable landslide of other seemingly independent problems?
    -Also, how do I make sure that I get ALL of the unconstrained paths and not just a subset?
    -Could it even be an unconstrained path issue if nothing in the report indicates that there is an unconstrained path in the problematic region?
    I hope I have described my problem thoroughly enough for you to make some educated assumptions about what could be going wrong. I'm interested in learning what typically causes such problems. I am aware of synchronizing between clock domains, or the de-assertions of asynchronous resets, the standard problems...but I missed something critical here and I don't want it to happen again. Perhaps somebody has a pointer for me where I could do a little more digging?
    I will set up a timing simulation of the entire design, but as this is a rather lengthy process it will be some time until I get some results.
    Cheers,
    Shibby

    Hello,
    Thank you for the quick replies so far.
    austin wrote:
    So, my questions to you are:
    Did you review the entire (verbose) timing report?
    What is your smallest positive slack number?
    What is your system jitter? Your clofck source jitter?
    How well is the device bypassed on the board you are using (is it one of ours, or one from our distributors)?
    - Yes, I went over the entire verbose timing report that DIDN't cover unconstrained paths. However, when I did have the timing analyzer output unconstrained paths as well, there were a lot of timing errors. I assume this is due to the fact that unconstrained = period requirement of 0 and the slack is therefore always negative? I had a look at these and none of them really indicate a problem to me.
    - The smallest positive slack in the case of the standard verbose timing report was 0.304ns.
    - The system jitter is (the default?...I did not specify it in my UCF) 0.070ns. The other jitter values (TIJ and DJ) are both set to zero. So the resulting clock uncertainty is very small...possibly too small.
    - The board is a Nexys 3 from Digilent. I assume they know their stuff when it comes to capacitive bypassing of ICs. How would this play a role? If I've understood correctly then this is correlated to the system jitter. Bypassing problems would lead to larger/more frequent voltage dips (especially for larger designs) and therefore a clock that exhibits more/larger uncertainty (i.e. jitter)?
    I think my lack of knowledge in correctly constraining larger designs might be causing the problems here. But perhaps also not, so just to be sure, I want to ask the following (possibly stupid) questions:
    - Instead of increasing parameters related to jitter of a certain clock, wouldn't increasing the period constraint of that clock have the same effect? As I wrote, increasing for example the system clock constraint to 120MHz rather than 100MHz showed no improvement of the problem...I'm not sure what this tells me...if anything at all.
    - I do have another clock domain and I do synchronize signals (there is nothing big going on, mainly just handshaking) between the two domains. What could the effect be if I removed the period constraint for one of the clocks apart from possible timing problems in that clock domain?
    - The ring oscillators that I have clock certain FFs if oscillators enabled, however I do not know their exact frequencies. Would it suffice to just use a known upper bound?
    The latter two questions concern parts of the design that habe been there for a long time and have no functional connection to what was added that seems to be causing the problem, though.
    austin wrote:
    ISE ignores clock domain crossing (Vivado does not, but Vivado only supports 7 series and later devices). Do you have any unidentifed clock crossings that require synchronizers?
     Yes, I do. As mentioned above I synchronize my handshake signals between clock domains using simple level synhronizers (since I'm not doing anything fancy like transforming pulses). I am also synchronizing the de-assert of my asynchronous system reset in both clock domains using standard reset bridges, which are basically just level synchronizers.
    Interestingly, the timing report containing unconstrained path info tells me that one constraint was not met whereas the other one does not. It also concludes that the maximum frequency is lower than 100MHz, but gives the same result for the system clock. If I've understood correctly, this is due to the fact that there is an unconstrained path with maximum combinational path delay larger than 10ns. I had a look at this path (there are a few of the same type) and it is a path that I don't think needs to be constrained, so I wouldn't see this as the issue. 
    Albeit having looked at the timing reports, I wouldn't exclude that I've missed something, simply because I haven't dealt with such problems until now. So, I'm not sure whether or not it would be helpful to attach both the standard verbose timing report and the one including unconstrained paths...but perhaps someone could point me to something that might seem fishy..?
    One thing I will do is continue to try and isolate the location of the problem using timing simulations or possibly stripping the logic of certain components and checking the behavior of the implemented design.
    Best regards,
    Shibby

  • P2P networks

    Just a point of inquiry, do you guys use any p2p networks for use in open source apps or linux? and if so which ones?

    Can you explain your question one more time, please?
    Is it possible you are in the wrong forum?
    I use Samba for sharing between Windows, linux and OS X.

  • How to call java implementations from C language

    How to call java implementations from C language....
    I know using JNI java can call C code....is the converse also possible????
    -Rams

    How to call java implementations from C language....
    I know using JNI java can call C code....is the
    converse also possible????Yes.

  • Best practice for implementing a scalable ecommerce solution

    Hi,
    I'm new to SAP Business One, is there a white paper on the best practice of implementing a scalable ecommerce solution with SAP Business One using IIS/ASP.NET? What licensing and software(version)is need to implement a scalable ecommerce solution. How to integrate with trade partners via BizTalk server? Any help on these topics would be most helpful. Thanks in advance.
    Best Regards,
    Viet

    There already is a very robust ecommerce package certified by SAP that runs on ASP.Net and integrates into Business One. It is called NetPoint Commerce and it is made by Praxis Software Solutions. http://www.praxissoft.net you can see a working B2C site of it at http://www.yakpak.com and it also has robust B2B functionality you can email [email protected] for a demo. The cost is only a little more than it would cost to cover all appropiate licenses with SAP (included in the NetPoint cost) plus it works with SBO 6.5 and SBO 2004 and the DI Server is only available with SBO 2004

  • Java app is writing question marks instead of extended characters

    People,
    since I've installed an Sun E3000 with Solaris9 I'm having problems with accents (extended characters) in my java application: - it writes question marks instead of accents.
    This machine used to be Solaris 2.6 and we formatted/installed Solaris9 and got the problem since then.
    My application uses a thin driver to connect to Oracle9i database, and via unix I can call sqlplus and insert chr(199) and SELECT it (�) with no problems, but application writes ? in nohup.out.
    If you can point me in any direction, please let me know.
    Regards, Orlando.

    I'm pretty sure that the default locale "C" corresponds to the 7-bit US-ASCII character set. Again, this is all the methaphorical shot in the dark, but it's the only time that I've seen this happen. Sun's own documentation says to use something other than C or US ASCII if international or special characters will be needed.
    Here is my /etc/default/init for ISO 8859-15.
    TZ=US/Eastern
    CMASK=022
    LC_COLLATE=en_US.ISO8859-15
    LC_CTYPE=en_US.ISO8859-1
    LC_MESSAGES=en_US.ISO8859-1
    LC_MONETARY=en_US.ISO8859-15
    LC_NUMERIC=en_US.ISO8859-15
    LC_TIME=en_US.ISO8859-15
    If the system that you're using can be rebooted, try changing the /etc/default/init file to something like the above, but with the specific for your locale. Obviously, en_US is not your area, but I have no idea what Brazil's would be.

  • Network Java API link costs

    In my Java App I would like to have network with 2 different cost for links.
    In the database you simply can change cost column in metadata tables.
    But in Java i see two solutions:
    1. NetworkManager.updateNetworkLinkCost(java.sql.Connection conn, Network network, java.lang.String costTableName, java.lang.String costColumnName)
    2. read two networks with different costs columns.
    ad 1. This is very expensive if you want change cost column several times because you have to update all links.
    ad 2. you duplicate data in a database
    Do you have others solutions?

    I took sdonm.jar from this patch.
    Some classes were added but i've got exeption even in this methods which works on previous version.
    *****BEGIN: testShortestPath***** at2009.07.03 10:22:40
    [oracle.spatial.network.lod.LODNetworkAdaptorSDO, ERROR] java.sql.SQLException: ORA-00903: niepoprawna nazwa tabeli
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.addInternalNodes(LODNetworkAdaptorSDO.java:2908)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.readLogicalPartition(LODNetworkAdaptorSDO.java:2348)
         at oracle.spatial.network.lod.NetworkIOImpl.readLogicalPartition(NetworkIOImpl.java:438)
         at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:111)
         at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:102)
         at oracle.spatial.network.lod.NetworkExplorer.getPartition(NetworkExplorer.java:303)
         at oracle.spatial.network.lod.NetworkExplorer.getNetNode(NetworkExplorer.java:359)
         at oracle.spatial.network.lod.LabelSettingAlgorithm.getHeavyPointsOnNet(LabelSettingAlgorithm.java:564)
         at oracle.spatial.network.lod.LabelSettingAlgorithm.shortestPath(LabelSettingAlgorithm.java:1018)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathHierarchical(NetworkAnalyst.java:2045)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1892)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1869)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1810)
         at pl.alfaprojekt.view.TestClient.main(TestClient.java:70)
    [oracle.spatial.network.lod.LODNetworkAdaptorSDO, ERROR] oracle.spatial.network.lod.LODNetworkException: java.sql.SQLException: ORA-00903: niepoprawna nazwa tabeli
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.handleException(LODNetworkAdaptorSDO.java:6703)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.addInternalNodes(LODNetworkAdaptorSDO.java:2934)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.readLogicalPartition(LODNetworkAdaptorSDO.java:2348)
         at oracle.spatial.network.lod.NetworkIOImpl.readLogicalPartition(NetworkIOImpl.java:438)
         at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:111)
         at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:102)
         at oracle.spatial.network.lod.NetworkExplorer.getPartition(NetworkExplorer.java:303)
         at oracle.spatial.network.lod.NetworkExplorer.getNetNode(NetworkExplorer.java:359)
         at oracle.spatial.network.lod.LabelSettingAlgorithm.getHeavyPointsOnNet(LabelSettingAlgorithm.java:564)
         at oracle.spatial.network.lod.LabelSettingAlgorithm.shortestPath(LabelSettingAlgorithm.java:1018)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathHierarchical(NetworkAnalyst.java:2045)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1892)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1869)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1810)
         at pl.alfaprojekt.view.TestClient.main(TestClient.java:70)
    Caused by: java.sql.SQLException: ORA-00903: niepoprawna nazwa tabeli
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.addInternalNodes(LODNetworkAdaptorSDO.java:2908)
         ... 13 more
    oracle.spatial.network.lod.LODNetworkException: oracle.spatial.network.lod.LODNetworkException: java.sql.SQLException: ORA-00903: niepoprawna nazwa tabeli
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.handleException(LODNetworkAdaptorSDO.java:6703)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.readLogicalPartition(LODNetworkAdaptorSDO.java:2382)
         at oracle.spatial.network.lod.NetworkIOImpl.readLogicalPartition(NetworkIOImpl.java:438)
         at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:111)
         at oracle.spatial.network.lod.CachedNetworkIOImpl.readLogicalPartition(CachedNetworkIOImpl.java:102)
         at oracle.spatial.network.lod.NetworkExplorer.getPartition(NetworkExplorer.java:303)
         at oracle.spatial.network.lod.NetworkExplorer.getNetNode(NetworkExplorer.java:359)
         at oracle.spatial.network.lod.LabelSettingAlgorithm.getHeavyPointsOnNet(LabelSettingAlgorithm.java:564)
         at oracle.spatial.network.lod.LabelSettingAlgorithm.shortestPath(LabelSettingAlgorithm.java:1018)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathHierarchical(NetworkAnalyst.java:2045)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1892)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1869)
         at oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:1810)
         at pl.alfaprojekt.view.TestClient.main(TestClient.java:70)
    Caused by: oracle.spatial.network.lod.LODNetworkException: java.sql.SQLException: ORA-00903: niepoprawna nazwa tabeli
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.handleException(LODNetworkAdaptorSDO.java:6703)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.addInternalNodes(LODNetworkAdaptorSDO.java:2934)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.readLogicalPartition(LODNetworkAdaptorSDO.java:2348)
         ... 12 more
    Caused by: java.sql.SQLException: ORA-00903: niepoprawna nazwa tabeli
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.spatial.network.lod.LODNetworkAdaptorSDO.addInternalNodes(LODNetworkAdaptorSDO.java:2908)
         ... 13 more

  • Trying to Find Sample Java Implementation for GATE Information Extractor

    I would like to semantically index a large repository of unstructured documents (over a million) using a GATE
    Information Extractor, as described in chapter 4 of the Oracle
    Semantic Technologies Developers Guide 11g Release 2 (E11828-08).
    Page 4-11 states:
    "A sample Java implementation for the GATE listener is available for
    download from the code samples and examples page on OTN (see Section
    1.10, "Semantic Data Examples (PL/SQL and Java)" for information about
    this page)."
    I followed the link and downloaded the sample code, but I can't seem
    to identify any GATE code inside it, or any installation instructions
    for the GATE Information Extractor. Are you familiar with it? Any
    guidance would be appreciated.

    You are openning a direct connection to the DB. A Java Applet is restricted in what it is allowed to do, and it can only open connections to the machine it was downloaded from.
    If you are running the .html file straight from the File System, try downloading the applet from a webserver running on the same machine as the DB.
    This should solve your problem.
    Regards,
    Manuel Amago.

  • How does java implements runtime polymorphism.?

    Hi all.
    we know how does runtime polymorphism take place in java.
    But my quesions is , how does java implement it internally.
    in C++, with the use of keyword virtual , complier decides to make a call at runtime using virtual table and Vptr.
    like in c++,
    class base {
    public:
    virtual void show(){
    cout<<"I am in base class"<<endl;
    class child : public base {
    public:
    void show(){
    cout<<" I am in child class"<<endl;
    int main(){
    base*p = new child();
    p->show();
    return 0;
    out put - I am in child class.
    but if we remove the virtual keyword then output
    I am in base class..
    We know how it happens
    but in java
    class base {
    void show(){
    System.out.println("I am in base class");
    class child extends base {
    void show(){
    System.out.println(" I am in child class");
    class demo {
    public static void main(string args[ ]){
    base b;
    child c = new child();
    b = c;
    b.show();
    output is - I am in child class
    but how can i bring the output as
    I am in base class ---
    complier knows that b is base reference so y doesnt it just use base version.

    if all methods are virtual..then we should always have runtime binding but we do have early biding too.
    shouldnt we able to call base verison using a base reference variable like in c++.
    May be I m mixing big times java n c++. But it seems to me as core java is much like c++ . The things u can do in c++ , u can do same in java in different ways.

Maybe you are looking for

  • Problem in using Weblogic 6.1 with Oracle 9i

    Hi, Has anybody experiensing problems in creating connection from Weblogic6.1 to Oracle 9i using thin driver? We have a piece of codes that works fine with Weblogic 6.1 and Oracle 8.1.7 but failed to create database connection when we upgrade to data

  • OpenDocument Printer button open always the PDF Export

    Hello I am using a COM object to pilot the generation of Crystal Reports from Crystal Server using the OpenDocument Viewer. From the COM Object I open a new Internet Explorer window with the URL of the report to open and everything is working fine: t

  • How to Delete Locked SIP Settings.

    Hello, I tried adding one profile to my SIP Settings. It got created successfully but a LOCK SIGN is appearing along with it. and I am not able to DELETE the profile or edit it. Can anyone kindly guide me how to DELETE/EDIT it and send the requested

  • No folders showing in Mail?

    Hi guys, The title pretty much sums this post up – I'm using Mail on my laptop and it syncs (and works) on my iPhone 3GS. Problem is the folders I have set up don't show. I've just set up my work email on it and that also works with folders showing a

  • Running oracle forms and reports within weblogic 11g

    hi I have installed oracle weblogic 11g, my quastion is: is there any thing necessary to download and install to run forms and reports on weblogic and how i can see my forms within url and how i can do connection on oracle database 10g thanx